vmwgfx: Break out execbuf command processing
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Oct 2011 18:13:17 +0000 (20:13 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 09:17:11 +0000 (10:17 +0100)
commit922ade0d16d24be2040be7d55dbb734af779a1dd
tree95da5e88d006212ece9b079cd7238441b9c32a22
parent6070e9fa6d12d465c65a172a2b1c752ebedc5937
vmwgfx: Break out execbuf command processing

This will make it easier to execute commands operating on user-space
resources but generated by the kernel.

JB: Added tracking if the sw_context was called from the kernel or userspace.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c