Skip to content
Snippets Groups Projects
Commit b47c057d authored by Andrey Grodzovsky's avatar Andrey Grodzovsky
Browse files

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: default avatarAndrey Grodzovsky <andrey.grodzovsky@amd.com>
parent 83763622
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment