]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Remove check for conflicting relocation write-domains
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Dec 2012 11:49:07 +0000 (11:49 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Dec 2012 19:13:16 +0000 (20:13 +0100)
commitc1f093e09c4ceb583b04d11e767bb3201812e4d2
treea5bbe8842f6354809578b45b8769cff8660278a9
parent2a2d548240ff5f5bd826640bdf8baa016ab6cec4
drm/i915: Remove check for conflicting relocation write-domains

Simply use the last write-domain set for the object in the batch,
trusting userspace to have correctly flushed the caches between usage as
a write target. This check dates back from the golden age of having only
a single operation per batch with the kernel repeating it for each
cliprect, and conflicts both with userspace trying to efficiently batch
multiple operations and with reducing the kernel overhead of relocation
processing.

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