]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only emit a flush request on the active ring.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Sep 2010 10:02:01 +0000 (11:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:51 +0000 (11:19 +0100)
commit3ee6df2216eee0ae3dccd7321fd26be7ac668b29
treeebc291c2d703daf601f4b56ebe79c6e8a53d04e5
parent49380d69b444af342e352f3a3765fcc208c8149b
drm/i915: Only emit a flush request on the active ring.

When flushing the GPU domains,we emit a flush on *both* rings, even
though they share a unified cache. Only emit the flush on the currently
active ring.

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