drm/i915: Switch eviction code to use vmas
authorBen Widawsky <ben@bwidawsk.net>
Wed, 14 Aug 2013 09:38:34 +0000 (11:38 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Aug 2013 11:31:52 +0000 (13:31 +0200)
commit82a55ad1a0585e4e01a47f72fe81fb5a2d2c0fb1
treebd4235f5e56d8e95d6ca0b3197133c578d0eef8a
parentb25cb2f8828aca6204d9c93d4d677f27e3ae9fa6
drm/i915: Switch eviction code to use vmas

The execbuf wants to do relocations usings vmas, so we need a
vma->exec_list. The eviction code also uses the old obj execbuf list
for it's own book-keeping, but would really prefer to deal in vmas
only. So switch it over to the new list.

Again this is just a prep patch for the big execbuf vma conversion.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Split out from Ben's big execbuf vma patch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c