drm/etnaviv: disable tx clock gating for GC7000 rev6203
authorMarco Felsch <m.felsch@pengutronix.de>
Fri, 26 Aug 2022 19:07:28 +0000 (21:07 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 23 Sep 2022 20:04:14 +0000 (22:04 +0200)
commit4bce244272513ebb4d13c570e9fbca28497015b2
tree9d4817fdde093ffe9665d3cc548934996f5c9898
parentd37c120b73128690434cc093952439eef9d56af1
drm/etnaviv: disable tx clock gating for GC7000 rev6203

The i.MX8MN SoC errata sheet mentions ERR050226: "GPU: Texture L2 Cache
idle signal may incorrectly clock gate the texture engine in GPU".

The workaround is to disable the corresponding clock gatings.

While on it move the clock gating check for rev6202 into the same check
to bundle them.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c