diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-05-09 11:01:39 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2019-05-27 15:13:57 +0200 |
commit | 137caa702f2308f7ef03876e164b0d0f3300712a (patch) | |
tree | cfdbc83b03bd276e8c431690a6c1635ade00243b /drivers/gpu/drm/imx/ipuv3-plane.h | |
parent | Linux 5.2-rc2 (diff) | |
download | linux-137caa702f2308f7ef03876e164b0d0f3300712a.tar.xz linux-137caa702f2308f7ef03876e164b0d0f3300712a.zip |
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
Diffstat (limited to 'drivers/gpu/drm/imx/ipuv3-plane.h')
-rw-r--r-- | drivers/gpu/drm/imx/ipuv3-plane.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.h b/drivers/gpu/drm/imx/ipuv3-plane.h index 15e85e15d35c..ffacbcdd2f98 100644 --- a/drivers/gpu/drm/imx/ipuv3-plane.h +++ b/drivers/gpu/drm/imx/ipuv3-plane.h @@ -27,7 +27,6 @@ struct ipu_plane { int dp_flow; bool disabling; - int next_buf; }; struct ipu_plane *ipu_plane_init(struct drm_device *dev, struct ipu_soc *ipu, |