1. 21 5月, 2021 1 次提交
    • I
      drm/i915: Reenable LTTPR non-transparent LT mode for DPCD_REV<1.4 · cb4920cc
      Imre Deak 提交于
      The driver currently disables the LTTPR non-transparent link training
      mode for sinks with a DPCD_REV<1.4, based on the following description
      of the LTTPR DPCD register range in DP standard 2.0 (at the 0xF0000
      register description):
      
      ""
      LTTPR-related registers at DPCD Addresses F0000h through F02FFh are valid
      only for DPCD r1.4 (or higher).
      """
      
      The transparent link training mode should still work fine, however the
      implementation for this in some retimer FWs seems to be broken, see the
      References: link below.
      
      After discussions with DP standard authors the above "DPCD r1.4" does
      not refer to the DPCD revision (stored in the DPCD_REV reg at 0x00000),
      rather to the "LTTPR field data structure revision" stored in the
      0xF0000 reg. An update request has been filed at vesa.org (see
      wg/Link/documentComment/3746) for the upcoming v2.1 specification to
      clarify the above description along the following lines:
      
      """
      LTTPR-related registers at DPCD Addresses F0000h through F02FFh are
      valid only for LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV 1.4 (or
      higher)
      """
      
      Based on my tests Windows uses the non-transparent link training mode
      for DPCD_REV==1.2 sinks as well (so presumably for all DPCD_REVs), and
      forcing it to use transparent mode on ICL/TGL platforms leads to the
      same LT failure as reported at the References: link.
      
      Based on the above let's assume that the transparent link training mode
      is not well tested/supported and align the code to the correct
      interpretation of what the r1.4 version refers to.
      Reported-and-tested-by: NCasey Harkins <caseyharkins@gmail.com>
      Tested-by: NKhaled Almahallawy <khaled.almahallawy@intel.com>
      References: https://gitlab.freedesktop.org/drm/intel/-/issues/3415
      Fixes: 264613b4 ("drm/i915: Disable LTTPR support when the DPCD rev < 1.4")
      Cc: <stable@vger.kernel.org> # v5.11+
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NKhaled Almahallawy <khaled.almahallawy@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210512212809.1234701-1-imre.deak@intel.com
      cb4920cc
  2. 26 4月, 2021 1 次提交
  3. 20 4月, 2021 1 次提交
  4. 14 4月, 2021 3 次提交
  5. 24 3月, 2021 1 次提交
  6. 23 3月, 2021 3 次提交
  7. 20 3月, 2021 1 次提交
  8. 19 3月, 2021 3 次提交
  9. 15 3月, 2021 2 次提交
  10. 02 2月, 2021 2 次提交
  11. 30 1月, 2021 1 次提交
  12. 26 1月, 2021 1 次提交
  13. 20 1月, 2021 1 次提交
  14. 13 1月, 2021 2 次提交
  15. 12 10月, 2020 5 次提交
  16. 01 10月, 2020 1 次提交
  17. 18 8月, 2020 1 次提交
    • J
      drm/i915/display: Implement HOBL · 81619f4a
      José Roberto de Souza 提交于
      Hours Of Battery Life is a new GEN12+ power-saving feature that allows
      supported motherboards to use a special voltage swing table for eDP
      panels that uses less power.
      
      So here if supported by HW, OEM will set it in VBT and i915 will try
      to train link with HOBL vswing table if link training fails it fall
      back to the original table.
      
      intel_ddi_dp_preemph_max() was optimized to only check the HOBL flag
      instead of do something like is done in intel_ddi_dp_voltage_max()
      because it is only called after the first entry of the voltage swing
      table was loaded so the HOBL flag is valid at that point.
      
      v3:
      - removed a few parameters of icl_ddi_combo_vswing_program() that
      can be taken from encoder
      
      v4:
      - using the HOBL vswing table until training fails completely (Ville)
      
      v5:
      - not reducing lane or link rate when link training fails with HOBL
      active
      - duplicated the HOBL voltage swing entry to match DP spec requirement
      
      v6:
      - removed the optional VS 3 & pre-emp 0 from HOBL table
      - changed from u8:1 to bool to store hobl_failed/active
      
      BSpec: 49291
      BSpec: 49399
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Animesh Manna <animesh.manna@intel.com>
      Cc: Manasi Navare <manasi.d.navare@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200715175637.33763-1-jose.souza@intel.comSigned-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      81619f4a
  18. 14 7月, 2020 1 次提交
  19. 26 6月, 2020 1 次提交
  20. 03 6月, 2020 3 次提交
  21. 08 4月, 2020 1 次提交
  22. 11 2月, 2020 1 次提交
  23. 07 8月, 2019 1 次提交
  24. 17 6月, 2019 1 次提交
  25. 30 4月, 2019 1 次提交