summaryrefslogtreecommitdiff
path: root/tests/drmtest.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-04-06 17:13:01 -0400
committerKristian Høgsberg <krh@redhat.com>2009-04-06 17:13:01 -0400
commite9d6116e5bd30639d6333ef95462fe300f47ccd5 (patch)
treef704c598394685cffea66bf6bdccf88a1b6ea96e /tests/drmtest.h
parent51d6346f9f3c425f49e57d185530c6bcaeb94f5e (diff)
Use libudev in test case to only run gem tests for intel devices.
Diffstat (limited to 'tests/drmtest.h')
-rw-r--r--tests/drmtest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/drmtest.h b/tests/drmtest.h
index afa0df4a..55bb4464 100644
--- a/tests/drmtest.h
+++ b/tests/drmtest.h
@@ -33,5 +33,8 @@
#include "xf86drm.h"
+#define DRM_TEST_MASTER 0x01
+
int drm_open_any(void);
int drm_open_any_master(void);
+int drm_open_matching(const char *pci_glob, int flags);