From 69c200b0bb39bb585f46fa5c779c97166779cd93 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 24 Oct 2013 15:19:32 +0100 Subject: 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 --- lib/drmtest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/drmtest.h') 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); -- cgit v1.2.3