• Daniel Vetter's avatar
    drm/i915: Extract intel_prepare_shared_dpll · b14b1055
    Daniel Vetter authored
    This is the last piece of code which write state to the hardware in
    the ironalake ->crtc_mode_set callback.
    
    I think we could merge this with the pll->enable hook, but otoh the
    ordering requirements with the ldvs port are really tricky. Doing the
    FP0/1 writes up-front before we even prepare the lvds port (in the
    pre_pll_enable hook) like on i9xx seems safest.
    
    With this ilk+ platforms are now ready for runtime PM with DPMS. Since
    hsw/bdw also support runtime pm besides snb we need to first make the
    haswell code save before we can touch the core code.
    Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    b14b1055
intel_display.c 341 KB