From f5dca1608bc724236dd951d23420283cf59486e4 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Tue, 9 Feb 2016 12:38:36 +0100 Subject: [PATCH] drm/imx: don't touch primary fb on pageflip The core already does the correct replacemet if the driver page flip function returns without an error, so there is no need to do it here. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c index 846b5f5..3194574 100644 --- a/drivers/gpu/drm/imx/ipuv3-crtc.c +++ b/drivers/gpu/drm/imx/ipuv3-crtc.c @@ -123,7 +123,6 @@ static int ipu_page_flip(struct drm_crtc *crtc, ipu_crtc->newfb = fb; ipu_crtc->page_flip_event = event; - crtc->primary->fb = fb; return 0; } -- 2.7.4