Re: [PATCH libdrm] amdgpu: Provide more specific error message if non-privileged user runs amdgpu_test

2017-01-13 Thread Alex Deucher
On Fri, Jan 13, 2017 at 4:20 AM, Christian König wrote: > Am 12.01.2017 um 22:14 schrieb Alex Xie: >> >> Before this change, the error message is: >> "WARNING - Suite initialization failed..." >> People might think this is a driver problem. >> >> Tested with

[PATCH libdrm] amdgpu: Provide more specific error message if non-privileged user runs amdgpu_test

2017-01-12 Thread Alex Xie
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