linux/drivers/gpu/ipu-v3
Lucas Stach eb0200a435 gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change
On a NOP double buffer update where current buffer address is the same
as the next buffer address, the SDW_UPDATE bit clears too late. As we
are now using this bit to determine when it is safe to signal flip
completion to userspace this will delay completion of atomic commits
where one plane doesn't change the buffer by a whole frame period.

Fix this by remembering the last buffer address and just skip the
double buffer update if it would not change the buffer address.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[p.zabel@pengutronix.de: initialize last_bufaddr in ipu_pre_configure]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2019-01-23 11:56:44 +01:00
..
ipu-common.c gpu: ipu-v3: Fix CSI offsets for imx53 2019-01-17 14:59:02 +01:00
ipu-cpmem.c gpu: ipu-v3: Add chroma plane offset overrides to ipu_cpmem_set_image() 2018-11-05 14:40:06 +01:00
ipu-csi.c media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY 2018-10-04 16:06:15 -04:00
ipu-dc.c gpu: ipu-v3: ipu-dc: Remove unused 'di' variable 2017-10-04 12:18:56 +02:00
ipu-di.c
ipu-dmfc.c
ipu-dp.c drm/imx: add deferred plane disabling 2017-03-15 15:42:29 +01:00
ipu-ic.c gpu: ipu-v3: ipu-ic: allow to manually set resize coefficients 2018-11-05 14:40:06 +01:00
ipu-image-convert.c gpu: ipu-v3: image-convert: allow three rows or columns 2018-11-05 14:40:08 +01:00
ipu-pre.c gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change 2019-01-23 11:56:44 +01:00
ipu-prg.c driver core: Rename flag AUTOREMOVE to AUTOREMOVE_CONSUMER 2018-07-09 12:14:31 +02:00
ipu-prv.h gpu: ipu-v3: pre: add tiled prefetch support 2017-12-19 12:49:11 +01:00
ipu-smfc.c
ipu-vdi.c gpu: ipu-v3: vdic: include AUTO field order bit in ipu_vdi_set_field_order 2017-06-08 08:57:20 +02:00
Kconfig gpu: ipu-v3: allow to build with COMPILE_TEST 2017-12-19 12:49:11 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00