]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16a2a830d9afc6d402e85c5d678918d4ac54dca5
treec08437752f106cf8e88e9308f2491abb8aa94917
parenta308dbebf8996c115cd753396cf2174c8b0d2dea
drm/vmwgfx: Fix command defines and checks

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