tests/amdgpu: add vcn test support for dimgrey_cavefish

add dimgrey_cavefish chip id in vcn test

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
main
James Zhu 2020-07-29 12:55:52 -04:00 committed by Leo Liu
parent 10377d661a
commit 2315bcddd6
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,8 @@ CU_BOOL suite_vcn_tests_enable(void)
}
} else if (family_id == AMDGPU_FAMILY_NV) {
if (chip_id == (chip_rev + 0x28) ||
chip_id == (chip_rev + 0x32)) {
chip_id == (chip_rev + 0x32) ||
chip_id == (chip_rev + 0x3c)) {
reg.data0 = 0x10;
reg.data1 = 0x11;
reg.cmd = 0xf;