drm/vmwgfx: Add the possibility to validate a buffer as a MOB
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 21 Nov 2012 10:19:53 +0000 (11:19 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 17 Jan 2014 06:52:22 +0000 (07:52 +0100)
commit96c5f0df22aaf1f20075bc6ad3bdd7656e49cf4d
tree862783760c332324bd7e75c3e7cbebf450822042
parentafb0e50fae3aaeef2ca58e27cf650cb388846f19
drm/vmwgfx: Add the possibility to validate a buffer as a MOB

Also do basic consistency checking.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c