]> 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)
commita5b4511fc0e44329070651bffb11b6403f170a93
treec08437752f106cf8e88e9308f2491abb8aa94917
parent61ec09dc8682d1312336a0eca90e06d80f9b709c
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