aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c2
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index f4f98957ce47..1eaa0be392dc 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1324,6 +1324,8 @@ static int i915_load_modeset_init(struct drm_device *dev)
1324 1324
1325 INIT_WORK(&dev_priv->console_resume_work, intel_console_resume); 1325 INIT_WORK(&dev_priv->console_resume_work, intel_console_resume);
1326 1326
1327 intel_init_power_well(dev);
1328
1327 intel_modeset_gem_init(dev); 1329 intel_modeset_gem_init(dev);
1328 1330
1329 /* Always safe in the mode setting case. */ 1331 /* Always safe in the mode setting case. */
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 75e7550064f4..6f385e1e9ed6 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -605,6 +605,8 @@ static int __i915_drm_thaw(struct drm_device *dev, bool restore_gtt_mappings)
605 /* We need working interrupts for modeset enabling ... */ 605 /* We need working interrupts for modeset enabling ... */
606 drm_irq_install(dev); 606 drm_irq_install(dev);
607 607
608 intel_init_power_well(dev);
609
608 intel_modeset_init_hw(dev); 610 intel_modeset_init_hw(dev);
609 611
610 drm_modeset_lock_all(dev); 612 drm_modeset_lock_all(dev);
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 1a4232e446fe..1dd474ecc240 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -10273,8 +10273,6 @@ static void i915_enable_vga(struct drm_device *dev)
10273 10273
10274void intel_modeset_init_hw(struct drm_device *dev) 10274void intel_modeset_init_hw(struct drm_device *dev)
10275{ 10275{
10276 intel_init_power_well(dev);
10277
10278 intel_prepare_ddi(dev); 10276 intel_prepare_ddi(dev);
10279 10277
10280 intel_init_clock_gating(dev); 10278 intel_init_clock_gating(dev);