]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use vma->exec_entry as our double-entry placeholder
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Jun 2017 08:14:34 +0000 (09:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Jun 2017 09:52:58 +0000 (10:52 +0100)
commitd55495b4dcce2efb4656edfe211eb0bfb27c3387
tree0c53a182e14155e32f6ef706848e920e149dd485
parent650bc63568e4218508f206c14af92b5a3f77504f
drm/i915: Use vma->exec_entry as our double-entry placeholder

This has the benefit of not requiring us to manipulate the
vma->exec_link list when tearing down the execbuffer, and is a
marginally cheaper test to detect the user error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170615081435.17699-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_vma.c