]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26b9e594f58dcdf81dc2b4eca24517edf9e795a0
tree51b722aace265466c15f884500542b1e54aa25e5
parent96cba7c959ff724486a4bbbc3abbbe876fcb80b4
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