Skip to contentSkip to conversation

drm/etnaviv: Add new GC3000 sensitive states

PATCH Superseded Wladimir J. van der Laan 2 participants 2 messages Dec 14, 2016 – Dec 15, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/etnaviv: Add new GC3000 sensitive states

- Add PS.INST_ADDR and VS.INST_ADDR: GC3000 loads shader code from these addresses if ICACHE is enabled.

- Add new NFE vertex stream addresses.

---
 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 2a2e5e3..abb37c6 100644
@@ -56,6 +56,8 @@ static const struct {
 	ST(0x0644, 1),
 	ST(0x064c, 1),
 	ST(0x0680, 8),
+	ST(0x086c, 1),
+	ST(0x1028, 1),
 	ST(0x1410, 1),
 	ST(0x1430, 1),
 	ST(0x1458, 1),
@@ -75,6 +77,7 @@ static const struct {
 	ST(0x1740, 8),
 	ST(0x2400, 14 * 16),
 	ST(0x10800, 32 * 16),
+	ST(0x14600, 16),
 #undef ST
 };
 
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#1 lore raw

Am Mittwoch, den 14.12.2016, 09:53 +0100 schrieb Wladimir J. van der Laan:

Quoted 4 lines

- Add PS.INST_ADDR and VS.INST_ADDR: GC3000 loads shader code from these addresses if ICACHE is enabled.

- Add new NFE vertex stream addresses.

Please resend with a proper Signed-off-by line. I can't take a patch for mainline inclusion without it.

Quoted 18 lines
---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c +2 -0
index 2a2e5e3..abb37c6 100644
@@ -56,6 +56,8 @@ static const struct {
 	ST(0x0644, 1),
 	ST(0x064c, 1),
 	ST(0x0680, 8),
+	ST(0x086c, 1),
+	ST(0x1028, 1),
 	ST(0x1410, 1),
 	ST(0x1430, 1),
 	ST(0x1458, 1),

drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c static const struct { · line 83

Quoted 7 lines
drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c +1 -0
@@ -75,6 +77,7 @@ static const struct {
 	ST(0x1740, 8),
 	ST(0x2400, 14 * 16),
 	ST(0x10800, 32 * 16),
+	ST(0x14600, 16),
 #undef ST
 };
 

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel