1. 18 3月, 2015 2 次提交
  2. 25 2月, 2015 1 次提交
    • S
      drm/i915/skl: Add support for edp1.4 low vswing · 7ad14a29
      Sonika Jindal 提交于
      Based upon vbt's vswing preemph settings value select the appropriate
      translations for edp.
      
      v2: Incorporating bspec changes for vswing and preemph levels, adding edp
      translation table. Removed HSW from selection 9 which is specific to skl and
      correcting the returning of level2 from max pre emph (Damien)
      
      v3: Rebasing on top of renaming patches. Adding level(3,0) since level(2,2) as
      mentioned in bspec is invalid as per edp spec. Also changed the determining of
      size of the table selected (Satheesh).
      
      v4: Adding level 3 in max voltage selection if low vswing is selected (Satheesh)
      
      v5: Add a comment stating that skl_ddi_translations_edp is for eDP 1.4
          low vswing panels.
      
      v6: Updating recommended DDI translation table for edp 1.4
      
      Reviewed-by: Satheeshakrishna M <satheeshakrishna.m@intel.com> (v4)
      Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> (v6)
      Signed-off-by: NSonika Jindal <sonika.jindal@intel.com>
      Signed-off-by: NDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      7ad14a29
  3. 24 2月, 2015 5 次提交
  4. 14 2月, 2015 2 次提交
  5. 11 2月, 2015 1 次提交
  6. 10 2月, 2015 1 次提交
  7. 27 1月, 2015 10 次提交
  8. 17 1月, 2015 1 次提交
  9. 16 12月, 2014 2 次提交
  10. 15 12月, 2014 1 次提交
  11. 03 12月, 2014 3 次提交
  12. 26 11月, 2014 1 次提交
    • V
      drm/i915: Cancel vdd off work before suspend · afa4e53a
      Ville Syrjälä 提交于
      Currently we just make sure vdd is off before suspending, but we don't
      cancel the vdd off work. The work wil not touch vdd if
      want_panel_vdd==false so in theory this is fine.
      
      In the past that was perfectly fine since the vdd off work didn't do
      anything when want_panel_vdd==false, so even if the work would have been
      run during system resume before i915 has resumed, nothing would happen.
      
      However since pps_lock() will now grab the power domain references before
      it can check want_panel_vdd, we may end up toggling the power wells on/off
      already before the driver has resumed. That is not really acceptable, so
      cancel the vdd off work when suspending the encoder.
      
      The problem appeared when pps_lock() was introduced in:
       commit 773538e8
       Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
       Date:   Thu Sep 4 14:54:56 2014 +0300
      
          drm/i915: Reset power sequencer pipe tracking when disp2d is off
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      afa4e53a
  13. 19 11月, 2014 1 次提交
  14. 18 11月, 2014 3 次提交
  15. 14 11月, 2014 1 次提交
  16. 08 11月, 2014 3 次提交
  17. 05 11月, 2014 2 次提交
    • V
      drm/i915: Read out the power sequencer port assignment on resume on vlv/chv · 49e6bc51
      Ville Syrjälä 提交于
      When we suspend we turn everything off so the pps should be idle, and we
      also (or at least should) disable all power wells which will reset the
      power sequencer port assignment. So when we resume all power sequencers
      should be in their reset state. However it's at least theoretically
      possible that the BIOS would touch the power seuqencer(s), so to be safe
      we ought to read out the current port assignment like we do at driver
      init time.
      
      To do that we can simply call vlv_initial_power_sequencer_setup() from
      the encoder ->reset() hook before calling intel_edp_panel_vdd_sanitize().
      There's no danger or clobbering the pps delays since we now have those
      stored within intel_dp and we don't change them once initialized.
      
      This will make sure that the vdd state gets correctly tracked post-resume
      in case the BIOS enabled it.
      
      We need to shuffle things around a bit to get the locking right, and
      while at it, make intel_edp_panel_vdd_sanitize() static and move it
      around a bit to avoid a forward declaration.
      
      Cc: Imre Deak <imre.deak@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      49e6bc51
    • V
      drm/i915: Initialize PPS timestamps on vlv/chv · 1e74a324
      Ville Syrjälä 提交于
      The pps timestamp initialization was accidentally lost on vlv/chv in
      
       commit a4a5d2f8
       Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
       Date:   Thu Sep 4 14:54:20 2014 +0300
      
          drm/i915: Track which port is using which pipe's power sequencer
      
      Restore it so that we avoid introducing random delays into the pps operations
      during/after driver init time.
      
      Cc: Imre Deak <imre.deak@intel.com>
      Reported-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      1e74a324