]> 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)
commit721a9f8ad5798828d59a7b1da00a6e6f0d54b716
treea5bbe8842f6354809578b45b8769cff8660278a9
parentb4329264d610bd2f0834a9581eb8af2e7c45fe8a
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