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>main
parent
332809f3ee
commit
d1681af054
|
@ -70,6 +70,10 @@ CU_BOOL suite_hotunplug_tests_enable(void)
|
|||
if (minor_version < 46)
|
||||
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))
|
||||
return CU_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue