]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: move fence lru to struct drm_i915_fence_reg
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Apr 2010 09:02:31 +0000 (11:02 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 10 May 2010 20:38:31 +0000 (13:38 -0700)
commit007cc8ac4e0787fc7ad2e4585614800671d48d4e
treefcd267df2aec6aa00e6d11a3cd90b1c0814fb088
parent31770bd49ab157c5639043ad7541c3e0c83afcc4
drm/i915: move fence lru to struct drm_i915_fence_reg

This lru tracks fences, not objects, so move it to where it belongs.
As a side effect, this nicely shrinks drm_i915_gem_object by two
pointers.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c