[Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
I was fedup with having to run my tests as root and not being able to use my usual setup for tests that only exercise the GT part of the GPU. Render nodes to the rescue! Signed-off-by: Damien Lespiau damien.lesp...@intel.com --- lib/drmtest.c | 58

Re: [Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
On Thu, Oct 24, 2013 at 01:43:22PM -0700, Ben Widawsky wrote: On Thu, Oct 24, 2013 at 03:40:54PM +0100, Damien Lespiau wrote: I was fedup with having to run my tests as root and not being able to use my usual setup for tests that only exercise the GT part of the GPU. Render nodes to the

Re: [Intel-gfx] [PATCH 3/5] lib: Add a drm_open_any_render() that will try to use render nodes

2013-10-24 Thread Damien Lespiau
On Thu, Oct 24, 2013 at 10:01:21PM +0100, Damien Lespiau wrote: On Thu, Oct 24, 2013 at 01:43:22PM -0700, Ben Widawsky wrote: On Thu, Oct 24, 2013 at 03:40:54PM +0100, Damien Lespiau wrote: I was fedup with having to run my tests as root and not being able to use my usual setup for tests