]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/etnaviv: don't disable TS on MMUv2 core when moving the linear window
authorLucas Stach <l.stach@pengutronix.de>
Wed, 15 May 2024 12:13:58 +0000 (14:13 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:35:14 +0000 (20:35 +0200)
commita233df7f6c8abd532748312631b0a0530d3079a7
tree24e47f1463ad2059c6086360cfeceea9a79c1b14
parent95e3ca33f59882f33bc73ba7748f664b042a85c1
drm/etnaviv: don't disable TS on MMUv2 core when moving the linear window

On MMUv2 cores the linear window is only relevant when starting the FE,
before the MMU has been activated. Once the MMU is active, all accesses
are translated with no way to bypass the MMU via the linear window. Thus
TS ignoring the linear window offset is not an issue on cores with MMUv2
present and there is no need to disable TS when we need to move the
linear window.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c