[PATCH libdrm 3/3] amdgpu: A new option to run tests on render node
Xie, AlexBin
AlexBin.Xie at amd.com
Tue Jan 24 22:39:10 UTC 2017
Hi Emil,
Point 1 will be left for future patch.
Current error message is following.
Error: Permission denied. Hint:Try to run this test program as root.
I am thinking change it. Error message will be:
Error: Permission denied. Hint:Try to run this test program as root or in TTY.
Thanks,
Alex Bin Xie
-----Original Message-----
From: Emil Velikov [mailto:emil.l.velikov at gmail.com]
Sent: Friday, January 20, 2017 8:31 AM
To: Xie, AlexBin <AlexBin.Xie at amd.com>
Cc: amd-gfx mailing list <amd-gfx at lists.freedesktop.org>
Subject: Re: [PATCH libdrm 3/3] amdgpu: A new option to run tests on render node
HI Alex,
A couple of small idea(s) for future work (?).
On 19 January 2017 at 22:53, Alex Xie <AlexBin.Xie at amd.com> wrote:
> Tested:
> 1. As root, tests passed on primary.
Add auth mechanism and request run outside of X environment (switching
to TTY should work).
Then adjust the suggestion s/run as root/run in TTY/ ?
> 2. As root, BO export/import failed on render node as expected.
Afaict those can never succeed, so might as well change the test to
expect failure [when using the render node], or at least print a
message "the following failure is expected" ?
Thanks the series !
Emil
More information about the amd-gfx
mailing list