• I
    drm/i915: make sure VDD is turned off during system suspend · 07f9cd0b
    Imre Deak 提交于
    Atm we may leave eDP VDD enabled during system suspend after the CRTCs
    are disabled through an HPD->DPCD read event. So disable VDD during
    suspend at a point when no HPDs can occur.
    
    Note that runtime suspend doesn't have the same problem, since there the
    RPM ref held by VDD provides already the needed serialization.
    
    v2:
    - add note to commit message about the runtime suspend path (Ville)
    - use edp_panel_vdd_off_sync(), so we can keep the WARN in
      edp_panel_vdd_off() (Ville)
    v3:
    - rebased on -fixes (for_each_intel_encoder()->list_for_each_entry())
      (Imre)
    Signed-off-by: NImre Deak <imre.deak@intel.com>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v2)
    Cc: stable@vger.kernel.org (3.16+)
    [Jani: fix sparse warning reported by Fengguang Wu]
    Signed-off-by: NJani Nikula <jani.nikula@intel.com>
    07f9cd0b
i915_drv.c 45.3 KB