drm/i915: Restore all GGTT VMAs on resume
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 6 Jul 2015 14:15:01 +0000 (15:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jul 2015 09:28:47 +0000 (11:28 +0200)
commit2c3d99845eb7b1e9f3d2863099bc5a25c8461d3f
tree90616deb65e5014609021df01d35081f23a5c687
parent0d7b6b1182ef6f72be592688c8a22025a5b7b483
drm/i915: Restore all GGTT VMAs on resume

When rotated and partial views were added no one spotted the resume
path which assumes only one GGTT VMA per object and hence is now
skipping rebind of alternative views.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c