tests/amdgpu/vcn: update to support aldebaran

VCN is supported after AI family Arcturus.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
main
James Zhu 2021-04-12 08:44:59 -04:00 committed by Alex Deucher
parent 7b844dabf9
commit 3c02304c04
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ CU_BOOL suite_vcn_tests_enable(void)
if (r != 0 || !info.available_rings ||
(family_id < AMDGPU_FAMILY_RV &&
(family_id == AMDGPU_FAMILY_AI &&
chip_id != (chip_rev + 0x32)))) { /* Arcturus */
(chip_id - chip_rev) < 0x32))) { /* Arcturus */
printf("\n\nThe ASIC NOT support VCN, suite disabled\n");
return CU_FALSE;
}