mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 11:40:20 +01:00
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>
This commit is contained in:
parent
5de99aebba
commit
ba0d45eca6
1 changed files with 13 additions and 0 deletions
|
|
@ -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)
|
int suite_basic_tests_init(void)
|
||||||
{
|
{
|
||||||
struct amdgpu_gpu_info gpu_info = {0};
|
struct amdgpu_gpu_info gpu_info = {0};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue