summaryrefslogtreecommitdiff
path: root/xf86drm.h
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-02-02 18:06:27 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-02-12 18:36:52 -0500
commitdbc8b11db6f3fcbe2a76487bb0b1930908226a17 (patch)
tree50616ecce60e9cb8c2856aa16b20cc076730be18 /xf86drm.h
parentf1adc4b375a16b07f560b86a34e617984049c422 (diff)
Add new drmOpenOnceWithType function (v2)
v2: call drmOpenOnceWithType in drmOpenOnce, and drop unused param for drmOpenOnceWithType Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 7e82521b..77937eb9 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -712,6 +712,7 @@ extern int drmSLLookupNeighbors(void *l, unsigned long key,
unsigned long *next_key, void **next_value);
extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened);
+extern int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type);
extern void drmCloseOnce(int fd);
extern void drmMsg(const char *format, ...) DRM_PRINTFLIKE(1, 2);