drm/i915: If interrupted while setting object domains, still emit the flush.
authorEric Anholt <eric@anholt.net>
Sat, 15 Nov 2008 00:27:47 +0000 (16:27 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:21:48 +0000 (11:21 +1000)
commitb670d8158283c35842ae1c650f75c375d8710607
tree5acd986f51f15b50f401826e5ff53345a86194a8
parentce44b0ea3dc04236d852d78a06f850d1f7b03f3d
drm/i915: If interrupted while setting object domains, still emit the flush.

Otherwise, we would leave the objects in an inconsistent state, such as
write_domain == 0 but on the flushing list.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c