]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite620f72e62c9875379dc6854a2137a5115284d56
treea2c5b7d75afff88528ffca9ff35dd02efd8a71b0
parentbc850d56f34facbcc3e3907d8218aa817d0c569d
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