summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-02-09 12:38:36 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-03-01 08:33:39 +0100
commitf5dca1608bc724236dd951d23420283cf59486e4 (patch)
treef28731161b1097ab47122aa20068515ccea5bb0a /drivers/gpu/drm/imx
parentbeec8ec0bd58bd231ab7c603450707ed7c571506 (diff)
downloadblackbird-op-linux-f5dca1608bc724236dd951d23420283cf59486e4.tar.gz
blackbird-op-linux-f5dca1608bc724236dd951d23420283cf59486e4.zip
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 <l.stach@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r--drivers/gpu/drm/imx/ipuv3-crtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c
index 846b5f558897..319457416042 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;
}
OpenPOWER on IntegriCloud