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)
commit76c7d18bcddc9794f898ebdee44a3160c636da9c
treea2c5b7d75afff88528ffca9ff35dd02efd8a71b0
parentef64cf9d06049e4e9df661f3be60b217e476bee1
drm/vmwgfx: Don't commit staged bindings if execbuf fails

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