More specific libdrm error message
Xie, AlexBin
AlexBin.Xie at amd.com
Wed Jan 11 21:14:55 UTC 2017
Hi,
Provide more specific error message if non-privileged user runs amdgpu_test
Before this change, the error message is:" WARNING - Suite initialization failed..." People might think this is a driver problem.
Tested with non-privileged user. Now the error message is like.
...
Error:Permission denied. Hint: Try to run this test program as root.
WARNING - Suite initialization failed for 'Basic Tests'.
...
Tested as root with no regression.
Please review.
Thanks,
Alex Bin Xie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170111/ee92c5c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-amdgpu-Provide-more-specific-error-message-if-non-pr.patch
Type: text/x-patch
Size: 2904 bytes
Desc: 0001-amdgpu-Provide-more-specific-error-message-if-non-pr.patch
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170111/ee92c5c4/attachment-0001.bin>
More information about the amd-gfx
mailing list