]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14ad7e543fb2b0e52ad912a90ad41005a5356c1d
tree2b9878d9d300ea48c1554bc10d821b9230de39b5
parentc1a5f55ba3ee6d9c22a8502f33bc65815c5c44be
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