aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJammy Zhou2015-02-02 04:06:27 -0600
committerAlex Deucher2015-02-12 17:36:52 -0600
commitdbc8b11db6f3fcbe2a76487bb0b1930908226a17 (patch)
tree50616ecce60e9cb8c2856aa16b20cc076730be18 /xf86drm.h
parentf1adc4b375a16b07f560b86a34e617984049c422 (diff)
downloadexternal-libdrm-dbc8b11db6f3fcbe2a76487bb0b1930908226a17.tar.gz
external-libdrm-dbc8b11db6f3fcbe2a76487bb0b1930908226a17.tar.xz
external-libdrm-dbc8b11db6f3fcbe2a76487bb0b1930908226a17.zip
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,
712 unsigned long *next_key, void **next_value); 712 unsigned long *next_key, void **next_value);
713 713
714extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened); 714extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened);
715extern int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type);
715extern void drmCloseOnce(int fd); 716extern void drmCloseOnce(int fd);
716extern void drmMsg(const char *format, ...) DRM_PRINTFLIKE(1, 2); 717extern void drmMsg(const char *format, ...) DRM_PRINTFLIKE(1, 2);
717 718