diff options
author | Chia-I Wu <[email protected]> | 2010-01-02 22:06:42 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-12 10:55:36 +0800 |
commit | 6dafd61ab278f23ecfebac7ef647610875abd2db (patch) | |
tree | 6b443e2f562847c826d0839b34ae178d59bd650a /src/gallium/winsys/drm/intel | |
parent | 39790cab1349fbf69b61711c46eeef7ded6ae13a (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/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..450ae09b345 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 = { + .name = "i915", .create_context = intel_drm_create_context, .create_screen = intel_drm_create_screen, .texture_from_shared_handle = intel_drm_texture_from_shared_handle, |