staging: drm/imx: ipuv3-crtc: immediately update crtc->fb in ipu_page_flip
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 21 Jun 2013 08:57:20 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 23:01:06 +0000 (16:01 -0700)
commit1f941ae8977bc34b521c976090dfd0ad24fa91f9
treeaabbdf4e94f84e537cc4b0936d0173b947179a03
parent0b92e2f40378d4426145467301f9a249bba5907d
staging: drm/imx: ipuv3-crtc: immediately update crtc->fb in ipu_page_flip

Since commit 8cf1e9811471f2910fa38dc1b28e1789080ba961
("drm: Add consistency check for page-flipping") drm_mode_page_flip_ioctl
contains a WARN_ON that triggers if the .page_flip callback didn't update
the crtc->fb pointer to the new framebuffer immediately.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipuv3-crtc.c