drm/i915: Convert active API to VMA
authorBen Widawsky <ben@bwidawsk.net>
Tue, 24 Sep 2013 16:57:58 +0000 (09:57 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:21 +0000 (07:45 +0200)
commite2d05a8b1e4a7f6feae89a59543b1edbece1bda3
tree72ba5cee4bc284e0101459911cd9b5de70f72283
parent5c2abbeab798154166d42fce4f71790caa6dd9bc
drm/i915: Convert active API to VMA

Even though we track object activity and not VMA, because we have the
active_list be based on the VM, it makes the most sense to use VMAs in
the APIs.

NOTE: Daniel intends to eventually rip out active/inactive LRUs, but for
now, leave them be.

v2: Remove leftover hunk from the previous patch which didn't keep
i915_gem_object_move_to_active. That patch had to rely on the ring to
get the dev instead of the obj. (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
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_context.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
This page took 0.025548 seconds and 5 git commands to generate.