[umr] Add VCN rings to PM4 supported rings.

Submitted by StDenis, Tom on July 13, 2017, 1:35 p.m.

Details

Message ID 20170713133506.16241-1-tom.stdenis@amd.com
State New
Headers show
Series "Add VCN rings to PM4 supported rings." ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

StDenis, Tom July 13, 2017, 1:35 p.m.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
---
 src/app/ring_read.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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;