mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
drm/msm: remove redundant private plane cleanup
Now that drm core knows about private planes, it cleans them up for us. Trying to do this twice results in badness. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
70c70f091b
commit
814cb96fdc
@ -217,8 +217,6 @@ static void mdp4_crtc_destroy(struct drm_crtc *crtc)
|
|||||||
{
|
{
|
||||||
struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc);
|
struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc);
|
||||||
|
|
||||||
mdp4_crtc->plane->funcs->destroy(mdp4_crtc->plane);
|
|
||||||
|
|
||||||
drm_crtc_cleanup(crtc);
|
drm_crtc_cleanup(crtc);
|
||||||
drm_flip_work_cleanup(&mdp4_crtc->unref_fb_work);
|
drm_flip_work_cleanup(&mdp4_crtc->unref_fb_work);
|
||||||
drm_flip_work_cleanup(&mdp4_crtc->unref_cursor_work);
|
drm_flip_work_cleanup(&mdp4_crtc->unref_cursor_work);
|
||||||
|
@ -195,8 +195,6 @@ static void mdp5_crtc_destroy(struct drm_crtc *crtc)
|
|||||||
{
|
{
|
||||||
struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc);
|
struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc);
|
||||||
|
|
||||||
mdp5_crtc->plane->funcs->destroy(mdp5_crtc->plane);
|
|
||||||
|
|
||||||
drm_crtc_cleanup(crtc);
|
drm_crtc_cleanup(crtc);
|
||||||
drm_flip_work_cleanup(&mdp5_crtc->unref_fb_work);
|
drm_flip_work_cleanup(&mdp5_crtc->unref_fb_work);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user