soc: imx: imx8m-blk-ctrl: set LCDIF panic read hurry level
authorLucas Stach <l.stach@pengutronix.de>
Tue, 20 Dec 2022 17:53:53 +0000 (18:53 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jan 2023 05:25:38 +0000 (13:25 +0800)
commit06a9a229b1592abeb10728c8564492f0729f4b83
treeb7c3b504811612c675e8e4d3c7391388fb17a6ec
parent2cbee26e5d592da942a995ddee78ea3eb97ad2fa
soc: imx: imx8m-blk-ctrl: set LCDIF panic read hurry level

When the LCDIF block signals a panic condition due to the display FIFO
falling below the threshold, the priority at the NoC level is boosted
to the value set in the LCDIF_ARCACHE_CTRL register of i.MX8MP mediamix
blk-ctrl. Same as all other blk-ctrl registers this register is reset
when the domain is powered down. Initialize the panic hurry levels for
both LCIF interfaces to the maximium priority (same as downstream TF-A
and proven to work with the other priorities set in the interconnect
driver) when coming back from power down.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/imx8m-blk-ctrl.c