]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Support the NOP_ERROR command
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 24 Aug 2017 06:06:30 +0000 (08:06 +0200)
committerSinclair Yeh <syeh@vmware.com>
Mon, 28 Aug 2017 15:40:49 +0000 (17:40 +0200)
commiteb2047933df08b5cf4ca236e3a253c1a331f504c
tree95164d4946df77af1f16e7e8f2fc41f647e844e2
parent9a379e06f3dea072ba24a70bc2456b4f35ae0f4c
drm/vmwgfx: Support the NOP_ERROR command

Can be used by user-space applications to test and verify the kernel
command buffer error recovery functionality.

Malicious user-space apps could potentially use this command to slow down
graphics processing somewhat, but they could also accomplish the same thing
using a random malformed command so this should be considered safe.
At least as safe as it gets.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c