drm/i915: Move gpu_write_list to per-ring
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Oct 2010 11:38:05 +0000 (12:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Oct 2010 19:22:51 +0000 (20:22 +0100)
commit641934069d29211baf82afb93622a426172b67b6
treed00f3e69c1c02ddc96a43f744644e263a8e77a9d
parentb6651458d33c309767762a6c3da041573413fd88
drm/i915: Move gpu_write_list to per-ring

... to prevent flush processing of an idle (or even absent) ring.

This fixes a regression during suspend from 87acb0a5.

Reported-and-tested-by: Alexey Fisher <bug-track@fisher-privat.net>
Tested-by: Peter Clifton <pcjc2@cam.ac.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h