From 6dafd61ab278f23ecfebac7ef647610875abd2db Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 2 Jan 2010 22:06:42 +0800 Subject: 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 --- src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c') diff --git a/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c b/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c index 5995eee34b..4f5ccea467 100644 --- a/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c +++ b/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c @@ -358,6 +358,7 @@ static struct dri1_api dri1_api_hooks = { }; static struct drm_api vmw_drm_api_hooks = { + .name = "vmwgfx", .create_screen = vmw_drm_create_screen, .create_context = vmw_drm_create_context, .texture_from_shared_handle = vmw_drm_texture_from_handle, -- cgit v1.2.3