summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2015-08-10 19:45:11 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2015-08-12 19:06:37 +0200
commit2f633e5e40798d5c8db512118b5e464b62f7ff06 (patch)
tree8b8c101c3f4943cb9c68c05af58ecce05711dd14 /drivers/gpu/drm/vmwgfx/vmwgfx_context.c
parentdrm/vmwgfx: Initial DX support (diff)
downloadlinux-2f633e5e40798d5c8db512118b5e464b62f7ff06.tar.xz
linux-2f633e5e40798d5c8db512118b5e464b62f7ff06.zip
drm/vmwgfx: Command parser fixes for DX
Implement support for a couple of missing commands and fix a command parser error path. Also fix uninitialized devcaps and surface size computation. Signed-off-by: Charmaine Lee <charmainel@vmware.com> Signed-off-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_context.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
index abfe67c893c7..b14583d6f387 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
@@ -37,6 +37,7 @@ struct vmw_user_context {
struct vmw_cmdbuf_res_manager *man;
struct vmw_resource *cotables[SVGA_COTABLE_DX10_MAX];
spinlock_t cotable_lock;
+ struct vmw_dma_buffer *dx_query_mob;
};
static void vmw_user_context_free(struct vmw_resource *res);