tests/amdgpu: add function to check Asic is Arcturus
Since Arcturus has no gfx engine, add function to blacklist gfx related test. Acked-by: Huang Rui <ray.huang@amd.com> Acked-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>main
parent
5de99aebba
commit
ba0d45eca6
|
@ -586,6 +586,19 @@ int amdgpu_bo_alloc_and_map_raw(amdgpu_device_handle dev, unsigned size,
|
|||
|
||||
|
||||
|
||||
static bool asic_is_arcturus(uint32_t asic_id)
|
||||
{
|
||||
switch(asic_id) {
|
||||
/* asic DID */
|
||||
case 0x738C:
|
||||
case 0x7388:
|
||||
case 0x738E:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int suite_basic_tests_init(void)
|
||||
{
|
||||
struct amdgpu_gpu_info gpu_info = {0};
|
||||
|
|
Loading…
Reference in New Issue