[PATCH umr] Add VCN rings to PM4 supported rings.

Tom St Denis tom.stdenis at amd.com
Thu Jul 13 13:35:06 UTC 2017


Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
 src/app/ring_read.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/app/ring_read.c b/src/app/ring_read.c
index d6b3df58be4d..714a54e4f5ea 100644
--- a/src/app/ring_read.c
+++ b/src/app/ring_read.c
@@ -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;
-- 
2.12.0



More information about the amd-gfx mailing list