[PATCH 1/5] drm/imx: don't touch primary fb on pageflip
Lucas Stach
l.stach at pengutronix.de
Tue Feb 9 14:10:54 UTC 2016
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 <l.stach at pengutronix.de>
---
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 13a6702f9f28..a78727d9683b 100644
--- a/drivers/gpu/drm/imx/ipuv3-crtc.c
+++ b/drivers/gpu/drm/imx/ipuv3-crtc.c
@@ -125,7 +125,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.0.rc3
More information about the dri-devel
mailing list