drm/i915: Pull intel_init_power_well() out of intel_modeset_init_hw()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2013 14:38:31 +0000 (17:38 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Sep 2013 21:48:46 +0000 (23:48 +0200)
commitd6317290bfd8673d1cf3b6f8a12c72b3297eac36
treeba704b6768cb37ea94a7bfb291d17056bc897c9b
parentcdf8dd7f888bb8b48adf2ae3babc5aad4b1a7a1e
drm/i915: Pull intel_init_power_well() out of intel_modeset_init_hw()

The init and resume codepaths want to handel the power well in slightly
different ways, so pull the power well init out from
intel_modeset_init_hw() which gets called in both cases.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_display.c