]> git.baikalelectronics.ru Git - kernel.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)
commit99fa387416f7fad34abc393d90122e41988ba660
treea5bbe8842f6354809578b45b8769cff8660278a9
parent36ad27de1c68d77817df392cac7bf8e0605c5fb2
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