drm/etnaviv: fix external abort seen on GC600 rev 0x19
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 23 Aug 2020 19:09:22 +0000 (21:09 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 24 Aug 2020 15:20:39 +0000 (17:20 +0200)
commit2c5bf028ef34745e7b3fe768f9c9355ecc7df101
tree84f2adc2ca49afb4cc65b9f51772a03b68da8478
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
drm/etnaviv: fix external abort seen on GC600 rev 0x19

It looks like that this GPU core triggers an abort when
reading VIVS_HI_CHIP_PRODUCT_ID and/or VIVS_HI_CHIP_ECO_ID.

I looked at different versions of Vivante's kernel driver and did
not found anything about this issue or what feature flag can be
used. So go the simplest route and do not read these two registers
on the affected GPU core.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reported-by: Josua Mayer <josua.mayer@jm0.eu>
Fixes: 815e45bbd4d3 ("drm/etnaviv: determine product, customer and eco id")
Cc: stable@vger.kernel.org
Tested-by: Josua Mayer <josua.mayer@jm0.eu>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c