diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-19 16:46:28 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-19 17:10:04 +0100 |
commit | a5fb5d6a54195d19942482873d0738eaade9e986 (patch) | |
tree | 37263024aa906a1c44e9282bb455272b80937dce /src/gallium/winsys/drm/radeon | |
parent | 116a02be2264807dafb5fdfd4e3c913bb728c11f (diff) |
st/drm: Expose kernel driver name
Based on patch by Chia-I Wu <olvaffe@gmail.com>
Expose the name of the kernel driver as accepted by drmOpenByName.
Diffstat (limited to 'src/gallium/winsys/drm/radeon')
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c index 69f14e54f2..4d962c3abc 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c @@ -176,6 +176,7 @@ static boolean radeon_local_handle_from_texture(struct drm_api *api, } struct drm_api drm_api_hooks = { + .driver_name = "radeon", .create_screen = radeon_create_screen, .create_context = radeon_create_context, .texture_from_shared_handle = radeon_texture_from_shared_handle, |