aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
-rw-r--r--drivers/gpu/drm/drm_plane.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c
index 526e74b548b2..8535dc17db7e 100644
--- a/drivers/gpu/drm/drm_plane.c
+++ b/drivers/gpu/drm/drm_plane.c
@@ -554,7 +554,6 @@ retry:
554 ret = drm_modeset_lock_all_ctx(plane->dev, &ctx); 554 ret = drm_modeset_lock_all_ctx(plane->dev, &ctx);
555 if (ret) 555 if (ret)
556 goto fail; 556 goto fail;
557 plane->dev->mode_config.acquire_ctx = &ctx;
558 ret = __setplane_internal(plane, crtc, fb, 557 ret = __setplane_internal(plane, crtc, fb,
559 crtc_x, crtc_y, crtc_w, crtc_h, 558 crtc_x, crtc_y, crtc_w, crtc_h,
560 src_x, src_y, src_w, src_h, &ctx); 559 src_x, src_y, src_w, src_h, &ctx);
@@ -649,7 +648,6 @@ retry:
649 ret = drm_modeset_lock(&crtc->cursor->mutex, &ctx); 648 ret = drm_modeset_lock(&crtc->cursor->mutex, &ctx);
650 if (ret) 649 if (ret)
651 goto fail; 650 goto fail;
652 crtc->acquire_ctx = &ctx;
653 651
654 /* 652 /*
655 * Obtain fb we'll be using (either new or existing) and take an extra 653 * Obtain fb we'll be using (either new or existing) and take an extra