drm/vmwgfx: Command parser fixes for DX
authorCharmaine Lee <charmainel@vmware.com>
Mon, 10 Aug 2015 17:45:11 +0000 (10:45 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Aug 2015 17:06:37 +0000 (10:06 -0700)
commit2f633e5e40798d5c8db512118b5e464b62f7ff06
tree8b8c101c3f4943cb9c68c05af58ecce05711dd14
parentd80efd5cb3dec16a8d1aea9b8a4a7921972dba65
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>
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c