summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-01-19 16:46:28 +0000
committerJakob Bornecrantz <[email protected]>2010-01-19 17:10:04 +0100
commita5fb5d6a54195d19942482873d0738eaade9e986 (patch)
tree37263024aa906a1c44e9282bb455272b80937dce /src/gallium/include
parent116a02be2264807dafb5fdfd4e3c913bb728c11f (diff)
st/drm: Expose kernel driver name
Based on patch by Chia-I Wu <[email protected]> Expose the name of the kernel driver as accepted by drmOpenByName.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/drm_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_api.h b/src/gallium/include/state_tracker/drm_api.h
index 4d1259e1ee7..78882f3aa78 100644
--- a/src/gallium/include/state_tracker/drm_api.h
+++ b/src/gallium/include/state_tracker/drm_api.h
@@ -29,6 +29,11 @@ struct drm_create_screen_arg {
struct drm_api
{
/**
+ * Kernel driver name, as accepted by drmOpenByName.
+ */
+ const char *driver_name;
+
+ /**
* Special buffer functions
*/
/*@{*/