tests/amdgpu/vcn: update to not use asic_id for Renoir

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Thong Thai 2020-11-02 10:15:07 -05:00 committed by Alex Deucher
parent 5dea8f56ee
commit fc479e133e

View file

@ -128,7 +128,7 @@ CU_BOOL suite_vcn_tests_enable(void)
}
if (family_id == AMDGPU_FAMILY_RV) {
if (asic_id == 0x1636) {
if (chip_id >= (chip_rev + 0x91)) {
reg.data0 = 0x504;
reg.data1 = 0x505;
reg.cmd = 0x503;