projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
332809f
)
test/amdgpu/hotunplug: add apu check for hotplug test
author
jie zhang
<jie1zhan@amd.com>
Wed, 15 Feb 2023 04:45:05 +0000
(
04:45
+0000)
committer
Alex Deucher
<alexdeucher@gmail.com>
Fri, 17 Mar 2023 17:24:14 +0000
(17:24 +0000)
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>
tests/amdgpu/hotunplug_tests.c
patch
|
blob
|
history
diff --git
a/tests/amdgpu/hotunplug_tests.c
b/tests/amdgpu/hotunplug_tests.c
index
2b26567
..
af933b1
100644
(file)
--- a/
tests/amdgpu/hotunplug_tests.c
+++ b/
tests/amdgpu/hotunplug_tests.c
@@
-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;