diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c index ff97f344..a924fec6 100644 --- 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)