]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: pre: implement workaround for ERR009624
authorLucas Stach <l.stach@pengutronix.de>
Mon, 18 Sep 2017 15:45:07 +0000 (17:45 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 11 Oct 2017 10:04:24 +0000 (12:04 +0200)
commit7ddc91f5834ede8b5866a1f73d6e1be1a0641426
treede7d0e83075cdbae34bcf76a727a5321a9692bef
parent5652318223ea9c0358e75fd8c52ed97e99a520f0
gpu: ipu-v3: pre: implement workaround for ERR009624

The PRE has a bug where a software write to the CTRL register can block
the setting of the ENABLE bit by the hardware in auto repeat mode. When
this happens the PRE will fail to handle new jobs. To work around this
software must not write to CTRL register when the PRE store engine is
inside the unsafe window, where a hardware update to the ENABLE bit
may happen.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[p.zabel@pengutronix.de: rebased before PRE tiled prefetch support]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-pre.c