[PATCH umr] Remove duplicate comparison in PM4 ring detection.
Tom St Denis
tom.stdenis at amd.com
Fri Jul 14 14:37:28 UTC 2017
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
src/app/ring_read.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/app/ring_read.c b/src/app/ring_read.c
index 714a54e4f5ea..401a1ac87b8d 100644
--- a/src/app/ring_read.c
+++ b/src/app/ring_read.c
@@ -54,7 +54,6 @@ void umr_read_ring(struct umr_asic *asic, char *ringpath)
!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