summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/i965
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-02 22:06:42 +0800
committerChia-I Wu <[email protected]>2010-01-12 10:55:36 +0800
commit6dafd61ab278f23ecfebac7ef647610875abd2db (patch)
tree6b443e2f562847c826d0839b34ae178d59bd650a /src/gallium/winsys/drm/i965
parent39790cab1349fbf69b61711c46eeef7ded6ae13a (diff)
winsys/drm: Add name field to drm_api.
The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/winsys/drm/i965')
-rw-r--r--src/gallium/winsys/drm/i965/gem/i965_drm_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
index fc9678d2b62..9a2203fc6d7 100644
--- a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
+++ b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
@@ -228,6 +228,7 @@ destroy(struct drm_api *api)
struct drm_api i965_libdrm_api =
{
+ .name = "i965",
.create_context = i965_libdrm_create_context,
.create_screen = i965_libdrm_create_screen,
.texture_from_shared_handle = i965_libdrm_texture_from_shared_handle,