drm/i915: fix for when semaphore updates fail
authorBen Widawsky <ben@bwidawsk.net>
Wed, 11 Apr 2012 18:18:20 +0000 (11:18 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Apr 2012 19:14:13 +0000 (21:14 +0200)
commite3a5a2250aa9e67d169f33e6c91dc7604cab513b
tree36840e9d848133d78485cc149d323ec26bb36f81
parent5816d648d5f0d496d7bf11ab9174a365c791ccc6
drm/i915: fix for when semaphore updates fail

This fixes a long standing issue where emitting the semaphore updates
may have failed, but we've already updated our internal data structure.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c