drm/i915/vlv: add early DPIO init v3

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>
This commit is contained in:
Jesse Barnes 2013-12-16 16:34:23 -08:00 committed by Daniel Vetter
parent a57750f210
commit f42bb70d4f

View 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);