diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-02-09 14:38:36 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-03-01 10:33:39 +0300 |
commit | f5dca1608bc724236dd951d23420283cf59486e4 (patch) | |
tree | f28731161b1097ab47122aa20068515ccea5bb0a /drivers/gpu/drm/imx | |
parent | beec8ec0bd58bd231ab7c603450707ed7c571506 (diff) | |
download | linux-f5dca1608bc724236dd951d23420283cf59486e4.tar.xz |
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.c | 1 |
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; } |