summaryrefslogtreecommitdiff
path: root/xf86drm.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-11-23 20:51:34 -0500
committerKristian Høgsberg <krh@bitplanet.net>2009-11-23 20:51:34 -0500
commit22d46669043d38fcd16efca773f5ed5693c0fb58 (patch)
tree2a61afd66353314e6d10b4f78e7bc14ebb65ae94 /xf86drm.h
parent500f5b524000ed5930301f4303744cb4c0a19b75 (diff)
downloadlibdrm-22d46669043d38fcd16efca773f5ed5693c0fb58.tar.gz
libdrm-22d46669043d38fcd16efca773f5ed5693c0fb58.tar.bz2
libdrm-22d46669043d38fcd16efca773f5ed5693c0fb58.zip
Add drmGetDeviceNameFromFd function
Determines the /dev filename of the drm fd argument.
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index cf7d1329..f0dfb88e 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -708,4 +708,6 @@ typedef struct _drmEventContext {
extern int drmHandleEvent(int fd, drmEventContextPtr evctx);
+extern char *drmGetDeviceNameFromFd(int fd);
+
#endif