drm/vmwgfx: Don't commit staged bindings if execbuf fails
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jan 2014 09:46:12 +0000 (10:46 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 07:35:09 +0000 (08:35 +0100)
If execbuf fails and binding commands are never sent to the device,
don't commit the staged context bindings to the tracker.

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