drm/vmwgfx: Fix command defines and checks
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Feb 2014 12:19:36 +0000 (13:19 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Feb 2014 18:31:45 +0000 (19:31 +0100)
Make sure all guest-backed object commands are properly packed.
Have the command verifier treat uninitialized command entries as invalid
rather than dereferencing NULL pointers.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/svga3d_reg.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

Simple merge