From: Jesse Barnes Date: Tue, 17 Dec 2013 00:34:23 +0000 (-0800) Subject: drm/i915/vlv: add early DPIO init v3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f42bb70d4ff976b134fcbfb50301a87e7523f042;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a40651ef525c..9405340369d1 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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);