drm/i915: Clear the gpu_write_list on resetting write_domain upon hang
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 09:31:52 +0000 (10:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 09:31:52 +0000 (10:31 +0100)
commitdfaae392f4461785eb1c92aeaf2a1040b184edba
tree2239f155fdbed50f82d218b3499d06fb7c68f288
parent9e0ae53404700f1e4ae1f33b0ff92948ae0e509d
drm/i915: Clear the gpu_write_list on resetting write_domain upon hang

Otherwise we will hit a list handling assertion when moving the object
to the inactive list.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c