drm/i915/vlv: add early DPIO init v3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 17 Dec 2013 00:34:23 +0000 (16:34 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Dec 2013 08:33:27 +0000 (09:33 +0100)
Just add an early init since we may need to access DPIO regs early on.
The init call in modeset_init_hw is also needed for the resume case,
when we need to reset DPIO to keep things happy.

v2: split reset and reg init
v3: split patches (Daniel)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index a40651ef525c3a3248f21518f54625a490ef703e..9405340369d176c49c4344f4f7a2ddce4c1c5c2d 100644 (file)
@@ -10871,6 +10871,8 @@ void intel_modeset_init(struct drm_device *dev)
                }
        }
 
+       intel_init_dpio(dev);
+
        intel_cpu_pll_init(dev);
        intel_shared_dpll_init(dev);