drm/i915: unbind unmappable objects on fault/pin
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Sep 2010 17:37:04 +0000 (19:37 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 22:31:05 +0000 (23:31 +0100)
commit16e809acc167c3ede231cafcdab1be93bab3e429
tree2b9878d9d300ea48c1554bc10d821b9230de39b5
parent920afa77ced7124c8bb7d0c4839885618a3b4a54
drm/i915: unbind unmappable objects on fault/pin

In i915_gem_object_pin obviously unbind only if mappable is true.

This is the last part to enable gtt_mappable_end != gtt_size, which
the next patch will do.

v2: Fences on g33/pineview only work in the mappable part of the
gtt.

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