[PATCH] etnaviv: Add more offsets to sensitive state

Guido Günther agx at sigxcpu.org
Thu Sep 20 09:09:49 UTC 2018


0x14000 and 0x14018 are SRC_ADDR and DEST_ADDR in the BLT engine.
0x15C00 are the TX_DESCRIPTOR addresses on Halti5 at least.

This avoids the etnaviv_warn_if_non_sensitive warnings.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>
---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
index b106e8b288ad..84f5dabd57d9 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
@@ -69,8 +69,11 @@ static const struct {
 	ST(0x2400, 14 * 16),
 	ST(0x3824, 1),
 	ST(0x10800, 32 * 16),
+	ST(0x14000, 1),
+	ST(0x14018, 1),
 	ST(0x14600, 16),
 	ST(0x14800, 8 * 8),
+	ST(0x15c00, 128),
 #undef ST
 };
 
-- 
2.18.0


More information about the etnaviv mailing list