]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix flushing regression from 403423c0e
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Oct 2010 09:48:12 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Oct 2010 09:48:12 +0000 (10:48 +0100)
commit83250105f5e6347717a921101a60b7431dfeea59
tree871fd2a166abcf08e7054a4bc4667b43f714a114
parent39976f16f87b6a32230e56209574ce52eb611226
drm/i915: Fix flushing regression from 403423c0e

Whilst moving the code around in 403423c0e, I dropped the or'ing in of
new write domains which would zero out the write domain for a render
target if later reused as a source later in the batch. This meant that
we might drop a required flush before reading from the render target.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31043
Reported-by: xunx.fang@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c