Skip to contentSkip to conversation

etnaviv: Add more offsets to sensitive state

PATCH New Guido Günther 1 participant 1 message Sep 20, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 etnaviv: Add more offsets to sensitive state

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.

---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c +3 -0
index b106e8b288ad..84f5dabd57d9 100644
@@ -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
 };
 
Signature · 5 lines
2.18.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel