diff mbox series

etnaviv: Add more offsets to sensitive state

Message ID 20180920090949.GA23113@bogon.m.sigxcpu.org (mailing list archive)
State New, archived
Headers show
Series etnaviv: Add more offsets to sensitive state | expand

Commit Message

Guido Günther Sept. 20, 2018, 9:09 a.m. UTC
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@puri.sm>
---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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
 };