drm/vmwgfx: Add "quirk" to handling command verification exceptions
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 3 Mar 2015 07:45:04 +0000 (23:45 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Aug 2015 12:01:07 +0000 (14:01 +0200)
commitc9146cd918852ba6ec1af3bb376ac88edc15e3d9
tree48dc24d7e00eca831a4098b23ec3a33e392ed101
parentc8261a961ece4206bd60708eafa24ab81347f87c
drm/vmwgfx: Add "quirk" to handling command verification exceptions

For certain surface copies, we don't have a user space handle for
the destination surface.  In such cases, we are going to trust that
our caller is giving us the right surface ID.

To do this case, we created a quirk flag that may be useful
in the future for handling other cases.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c