OSDN Git Service

drm/i915: Clean up bo lists on all hung gpus
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Sep 2010 11:38:26 +0000 (12:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:54 +0000 (11:19 +0100)
commitf803aa5532d14efc463abbeae10faa115c457a07
tree67d70179b08c2619edf336d374e3f0dda440f25c
parent77f01230223a08792f5320ebba27af9cbb81b0cf
drm/i915: Clean up bo lists on all hung gpus

Previously we only tidied up the active bo lists for chipsets were we
would attempt to reset the GPU. However, this action is necessary for
the system to continue and reclaim the dead bo for all chipsets.

Pointed out, in passing, by Owain Ainsworth.

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_irq.c