drm/i915: move more code to __i915_drm_thaw
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 12 Sep 2013 21:06:43 +0000 (18:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 09:40:19 +0000 (11:40 +0200)
commit9d49c0ef40890064ca552230c2e3ae0e1fb3b617
tree3af9dd0801b914bc043379209a9fae7488c82f74
parent68c8c17f527effba57f4e82efee18a249c6a1b58
drm/i915: move more code to __i915_drm_thaw

Both callers had code to sanitize the uncore and restore the GTT
mappings just before calling __i915_drm_thaw, so Chris suggested I
should unify the code.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@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_drv.c