drm/i915: Replace the pending_gpu_write flag with an explicit seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Jul 2012 11:41:01 +0000 (12:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:52 +0000 (18:23 +0200)
commit0201f1ecf4b81f08799b1fb9c8cdf1125b9b78a6
tree51b722aace265466c15f884500542b1e54aa25e5
parente5f1d962a8e4c5fd6b3a8155c0f7a40b0bff4a96
drm/i915: Replace the pending_gpu_write flag with an explicit seqno

As we always flush the GPU cache prior to emitting the breadcrumb, we no
longer have to worry about the deferred flush causing the
pending_gpu_write to be delayed. So we can instead utilize the known
last_write_seqno to hopefully minimise the wait times.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_irq.c