diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-02-02 18:06:27 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-02-12 18:36:52 -0500 |
commit | dbc8b11db6f3fcbe2a76487bb0b1930908226a17 (patch) | |
tree | 50616ecce60e9cb8c2856aa16b20cc076730be18 /xf86drm.h | |
parent | f1adc4b375a16b07f560b86a34e617984049c422 (diff) | |
download | libdrm-dbc8b11db6f3fcbe2a76487bb0b1930908226a17.tar.gz libdrm-dbc8b11db6f3fcbe2a76487bb0b1930908226a17.tar.bz2 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |