diff options
author | Jakob Bornecrantz <[email protected]> | 2010-01-19 16:46:28 +0000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-19 17:10:04 +0100 |
commit | a5fb5d6a54195d19942482873d0738eaade9e986 (patch) | |
tree | 37263024aa906a1c44e9282bb455272b80937dce /src/gallium/winsys/drm/intel | |
parent | 116a02be2264807dafb5fdfd4e3c913bb728c11f (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/winsys/drm/intel')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_drm_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c index 5ed2a10af1c..89b72fd6134 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c +++ b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c @@ -195,6 +195,7 @@ destroy(struct drm_api *api) struct drm_api intel_drm_api = { + .driver_name = "i915", .create_context = intel_drm_create_context, .create_screen = intel_drm_create_screen, .texture_from_shared_handle = intel_drm_texture_from_shared_handle, |