]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 20 Aug 2013 12:20:49 +0000 (14:20 +0200)
commit9a597daae04b76882ec0ef91918907a8832598e1
tree18a29402558bf772a646ceb846635425fe215167
parentbeddc424a779f1ec371b17563ae012be53d96bbf
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