]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2019 07:16:17 +0000 (09:16 +0200)
commit71b59e7aecf6091c1efe422c54a5046954fc2b6e
tree5925234d7eab64d34280b6b4fe6b61db0f88541f
parent3a5c0d36964f6fe1a14da864f115c5444729b388
drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q

commit 137caa702f2308f7ef03876e164b0d0f3300712a upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/imx/ipuv3-plane.c
drivers/gpu/drm/imx/ipuv3-plane.h