projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83ad09
)
tests/amdgpu: fix decode test failure on VCN2.5
author
Sathishkumar S
<sathishkumar.sundararaju@amd.com>
Wed, 25 May 2022 09:15:08 +0000
(14:45 +0530)
committer
Leo Liu
<leo.liu@amd.com>
Sat, 11 Jun 2022 16:13:03 +0000
(12:13 -0400)
For VCN2.5 wrong index was chosen, fix it.
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
tests/amdgpu/vcn_tests.c
patch
|
blob
|
history
diff --git
a/tests/amdgpu/vcn_tests.c
b/tests/amdgpu/vcn_tests.c
index ff97f344554d9dfbb9c71e5fd9d5331b94c6ef5d..a924fec67d3698f79f855116db75d6b964e56d24 100644
(file)
--- a/
tests/amdgpu/vcn_tests.c
+++ b/
tests/amdgpu/vcn_tests.c
@@
-133,7
+133,7
@@
CU_BOOL suite_vcn_tests_enable(void)
if (info.hw_ip_version_major == 1)
vcn_reg_index = 0;
- else if (info.hw_ip_version_major == 2)
+ else if (info.hw_ip_version_major == 2
&& info.hw_ip_version_minor == 0
)
vcn_reg_index = 1;
else if ((info.hw_ip_version_major == 2 && info.hw_ip_version_minor >= 5) ||
info.hw_ip_version_major == 3)