summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-28 12:59:39 +1000
committerDave Airlie <airlied@redhat.com>2008-02-28 12:59:39 +1000
commit132ba667f4a88bb182e2d2abc7c4e60699398380 (patch)
tree2753bca779454fb3e489f391819e9ad03b33f80e /libdrm/xf86drmMode.h
parent75c9e0d3462f04766d490fac5cc93569957a8365 (diff)
drm: add a check for if modesetting is supported.
This is Linux only code, it just uses sysfs to see if a control device has been registered on the requested PCI ID
Diffstat (limited to 'libdrm/xf86drmMode.h')
-rw-r--r--libdrm/xf86drmMode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index 7cc3ceca..71e779d4 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -243,3 +243,4 @@ extern drmModePropertyBlobPtr drmModeGetPropertyBlob(int fd, uint32_t blob_id);
extern void drmModeFreePropertyBlob(drmModePropertyBlobPtr ptr);
extern int drmModeOutputSetProperty(int fd, uint32_t output_id, uint32_t property_id,
uint64_t value);
+extern int drmCheckModesettingSupported(const char *busid);