]> 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)
commit28196dd77ba50626b1bba140dc38963b8f4cb18a
tree51b722aace265466c15f884500542b1e54aa25e5
parenta3f8b528707ba084814c820f0df518c8d2dab365
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