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>main
parent
8376362245
commit
b47c057d69
|
@ -62,15 +62,13 @@ CU_BOOL suite_hotunplug_tests_enable(void)
|
||||||
return CU_FALSE;
|
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,
|
if (amdgpu_device_initialize(drm_amdgpu[0], &major_version,
|
||||||
&minor_version, &device_handle))
|
&minor_version, &device_handle))
|
||||||
return CU_FALSE;
|
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))
|
if (amdgpu_device_deinitialize(device_handle))
|
||||||
return CU_FALSE;
|
return CU_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue