drm/i915: Split vma exec_link/evict_link
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Jun 2017 08:14:35 +0000 (09:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Jun 2017 09:53:26 +0000 (10:53 +0100)
commit8c45cec48e5871f93e56650f7e476d4ea7174a0e
tree64494281af5d380c7e42f72c070c35073a31b3bc
parentd55495b4dcce2efb4656edfe211eb0bfb27c3387
drm/i915: Split vma exec_link/evict_link

Currently the vma has one link member that is used for both holding its
place in the execbuf reservation list, and in any eviction list. This
dual property is quite tricky and error prone.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170615081435.17699-3-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.h