mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 12:50:11 +01:00
test/amdgpu/hotunplug: add apu check for hotplug test
For apu, it is integrated with cpu. So hotplug test should be unnecessary for it. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Flora Cui <flora.cui@amd.com>
This commit is contained in:
parent
332809f3ee
commit
d1681af054
1 changed files with 4 additions and 0 deletions
|
|
@ -70,6 +70,10 @@ CU_BOOL suite_hotunplug_tests_enable(void)
|
||||||
if (minor_version < 46)
|
if (minor_version < 46)
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|
||||||
|
/* skip hotplug test on APUs */
|
||||||
|
if(device_handle->dev_info.ids_flags & AMDGPU_IDS_FLAGS_FUSION)
|
||||||
|
enable = false;
|
||||||
|
|
||||||
if (amdgpu_device_deinitialize(device_handle))
|
if (amdgpu_device_deinitialize(device_handle))
|
||||||
return CU_FALSE;
|
return CU_FALSE;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue