OSDN Git Service

drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 9 May 2019 09:01:39 +0000 (11:01 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 27 May 2019 13:13:57 +0000 (15:13 +0200)
commit137caa702f2308f7ef03876e164b0d0f3300712a
treecfdbc83b03bd276e8c431690a6c1635ade00243b
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07
drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q

The current buffer check halves the frame rate on non-plus i.MX6Q,
as the IDMAC current buffer pointer is not yet updated when
ipu_plane_atomic_update_pending is called from the EOF irq handler.

Fixes: 70e8a0c71e9 ("drm/imx: ipuv3-plane: add function to query atomic update status")
Tested-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: stable@vger.kernel.org
drivers/gpu/drm/imx/ipuv3-plane.c
drivers/gpu/drm/imx/ipuv3-plane.h