drm/i915: Move power well init earlier during driver load
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2013 14:38:34 +0000 (17:38 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:09 +0000 (07:45 +0200)
commita14853206517b0c8102accbc77401805a0dbdb9e
treee6fc08dcc52ba03144c3e26dfb46c068e95c9859
parent7d0bc1ea50e7b3fb1c7a52918611baba8750177d
drm/i915: Move power well init earlier during driver load

intel_modeset_init() will already attempt to disable VGA. In order to do
that, it needs the power well to be on. So move the power well init
to happen before intel_modeset_init() during driver load.

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