diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-24 15:19:32 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-28 11:00:07 +0000 |
commit | 69c200b0bb39bb585f46fa5c779c97166779cd93 (patch) | |
tree | 62d5971d31efc66a3d078834ce964cfa0515d94c /lib/drmtest.h | |
parent | 8329acb752721ad93dab70624b136f1befd4be3f (diff) |
lib: Add a drm_open_any_render() that will try to use render nodes
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.lespiau@intel.com>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r-- | lib/drmtest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h index 609e7d84..f5e27081 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -50,6 +50,7 @@ drm_intel_bo * gem_handle_to_libdrm_bo(drm_intel_bufmgr *bufmgr, int fd, int drm_get_card(void); int drm_open_any(void); +int drm_open_any_render(void); void gem_quiescent_gpu(int fd); |