]> 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)
commit500219d56a2f9692d0db5472063b314f029aeaf4
tree95164d4946df77af1f16e7e8f2fc41f647e844e2
parent9faf8a99183c17ca09a1f0ea6022f26a69cc9934
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