mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 16:00:13 +01:00
tests/amdgpu/hotunplu: Enable hotunplug tests.
I tested with latest amd-staging-drm-next and after minor fix for me all the testys pass. I bumped libdrm minor version for this. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
This commit is contained in:
parent
8376362245
commit
b47c057d69
1 changed files with 4 additions and 6 deletions
|
|
@ -62,15 +62,13 @@ CU_BOOL suite_hotunplug_tests_enable(void)
|
|||
return CU_FALSE;
|
||||
}
|
||||
|
||||
/* Disable until the hot-unplug support in kernel gets into drm-next */
|
||||
if (major_version < 0xff)
|
||||
enable = false;
|
||||
|
||||
if (amdgpu_device_initialize(drm_amdgpu[0], &major_version,
|
||||
&minor_version, &device_handle))
|
||||
return CU_FALSE;
|
||||
|
||||
/* TODO Once DRM version for unplug feature ready compare here agains it*/
|
||||
|
||||
/* Latest tested amdgpu version to work with all the tests */
|
||||
if (minor_version < 46)
|
||||
enable = false;
|
||||
|
||||
if (amdgpu_device_deinitialize(device_handle))
|
||||
return CU_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue