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
..
Kconfig
Makefile
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
ipu-dc.c
ipu-di.c
ipu-dmfc.c
ipu-dp.c
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
ipu-prv.h
ipu-smfc.c
ipu-vdi.c