diff options
author | Alex Xie <AlexBin.Xie@amd.com> | 2017-01-24 17:29:50 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-01-27 11:53:26 -0500 |
commit | 5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5 (patch) | |
tree | f9a6eac3b42907850c8e9cb8d618f19daf205e78 /radeon | |
parent | 8ef7e5b7026d06a803f0bf75fe323c14f142db3a (diff) | |
download | libdrm-5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5.tar.gz libdrm-5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5.tar.bz2 libdrm-5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5.zip |
amdgpu: verify the tested device
Verify the vender ID and driver name.
Open all AMDGPU devices.
Provide an option to open render node.
Tested as root: PASS
Tested as non-privileged user:
All tests failed as expected
v2: Return value in the ene of function amdgpu_open_devices.
Check the return value of amdgpu_open_devices.
amdgpu_test is not for USB device for the time being.
Get the name of node from function drmGetDevices2.
Drop the legacy drmAvailable() from the test.
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'radeon')
0 files changed, 0 insertions, 0 deletions