Skip to contentSkip to conversation

Add VCN rings to PM4 supported rings.

PATCH New Tom St Denis 1 participant 1 message Jul 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add VCN rings to PM4 supported rings.

---
 src/app/ring_read.c | 3 +++
 1 file changed, 3 insertions(+)
src/app/ring_read.c +3 -0
index d6b3df58be4d..714a54e4f5ea 100644
@@ -52,6 +52,9 @@ void umr_read_ring(struct umr_asic *asic, char *ringpath)
 	memset(&decoder, 0, sizeof decoder);
 	if (!memcmp(ringname, "gfx", 3) ||
 	    !memcmp(ringname, "uvd", 3) ||
+	    !memcmp(ringname, "vcn_dec", 7) ||
+	    !memcmp(ringname, "vcn_enc", 7) ||
+	    !memcmp(ringname, "vcn_enc", 7) ||
 	    !memcmp(ringname, "comp", 4)) {
 		enable_decoder = 1;
 		decoder.pm = 4;
Signature · 6 lines
2.12.0

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