tests/amdgpu: add vcn test support for navy_flounder

add navy_flounder chip id in vcn test

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
main
Tao Zhou 2020-06-23 14:02:00 +08:00 committed by Leo Liu
parent 5f85a6d98b
commit 10377d661a
1 changed files with 2 additions and 1 deletions

View File

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