drm/i915: Unconditionally get the fence reg when pinning scanout
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Nov 2010 13:59:09 +0000 (13:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Nov 2010 13:59:09 +0000 (13:59 +0000)
commit33d2323711059d14fd675fa7def317e560fa787e
treefd79de0488b6a7197def41efa9b3e55f2af63f30
parent56e2ea346ab4c2ea159ecdec85fffc24f50c2903
drm/i915: Unconditionally get the fence reg when pinning scanout

We use i915_gem_object_get_fence_reg() to do LRU tracking of the fence
registers, so stop trying to be too clever when pinning the fb->obj.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c