]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/imx: don't touch primary fb on pageflip
authorLucas Stach <l.stach@pengutronix.de>
Tue, 9 Feb 2016 11:38:36 +0000 (12:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 1 Mar 2016 07:33:39 +0000 (08:33 +0100)
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>
drivers/gpu/drm/imx/ipuv3-crtc.c

index 846b5f558897fb2927731b437e9dabf4e49e6970..319457416042b1e9dfeb7462f225af542291afec 100644 (file)
@@ -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;
 }