An error occurred fetching the project authors.
  1. 24 May, 2023 1 commit
  2. 16 May, 2023 3 commits
  3. 20 Apr, 2023 1 commit
  4. 17 Apr, 2023 2 commits
  5. 14 Apr, 2023 1 commit
    • Radhakrishna Sripada's avatar
      drm/i915/mtl: Add Support for C10 PHY message bus and pll programming · 51390cc0
      Radhakrishna Sripada authored
      XELPDP has C10 and C20 phys from Synopsys to drive displays. Each phy
      has a dedicated PIPE 5.2 Message bus for configuration. This message
      bus is used to configure the phy internal registers.
      
      XELPDP has C10 phys to drive output to the EDP and the native output
      from the display engine. Add structures, programming hardware state
      readout logic. Port clock calculations are similar to DG2. Use the DG2
      formulae to calculate the port clock but use the relevant pll signals.
      Note: PHY lane 0 is always used for PLL programming.
      
      Add sequences for C10 phy enable/disable phy lane reset,
      powerdown change sequence and phy lane programming.
      
      Bspec: 64539, 64568, 64599, 65100, 65101, 65450, 65451, 67610, 67636
      
      v2: Squash patches related to C10 phy message bus and pll
          programming support (Jani)
          Move register definitions to a new file i.e. intel_cx0_reg_defs.h (Jani)
          Move macro definitions (Jani)
          DP rates as separate patch (Jani)
          Spin out xelpdp register definitions into a separate file (Jani)
          Replace macro to select registers based on phy lane with
          function calls (Jani)
          Fix styling issues (Jani)
          Call XELPDP_PORT_P2M_MSGBUS_STATUS() with port instead of phy (Lucas)
      v3: Move clear request flag into try-loop
      v4: On PHY idle change drm_err_once() as drm_dbg_kms() (Jani)
          use __intel_de_wait_for_register() instead of __intel_wait_for_register
          and uncomment intel_uncore.h (Jani)
          Add DP-alt support for PHY lane programming (Khaled)
      v4: Add tx and cmn on c10mpllb_state (Imre)
          Add missing waits for pending transactions between two message bus
          writes (Imre)
          General cleanups and simplifications (Imre)
      v5: Few nit cleanups from rev4 (imre)
          s/dev_priv/i915/ , s/c10mpllb/c10pll/ (RK)
          Rebase
      v6: Move the mtl code from intel_c10pll_calc_port_clock to mtl function
          Fix typo in comment for REG_FIELD_PREP8 definition(Imre)
      
      Cc: Mika Kahola <mika.kahola@intel.com>
      Cc: Imre Deak <imre.deak@intel.com>
      Cc: Uma Shankar <uma.shankar@intel.com>
      Cc: Gustavo Sousa <gustavo.sousa@intel.com>
      Signed-off-by: default avatarRadhakrishna Sripada <radhakrishna.sripada@intel.com>
      Signed-off-by: default avatarMika Kahola <mika.kahola@intel.com>
      Reviewed-by: Imre Deak <imre.deak@intel.com> (v4)
      Link: https://patchwork.freedesktop.org/patch/msgid/20230413212443.1504245-4-radhakrishna.sripada@intel.com
      51390cc0
  6. 05 Apr, 2023 2 commits
  7. 04 Apr, 2023 1 commit
  8. 23 Mar, 2023 2 commits
  9. 17 Mar, 2023 1 commit
  10. 06 Mar, 2023 1 commit
  11. 15 Feb, 2023 1 commit
  12. 25 Jan, 2023 1 commit
  13. 18 Jan, 2023 1 commit
  14. 13 Dec, 2022 1 commit
  15. 09 Dec, 2022 2 commits
  16. 17 Nov, 2022 1 commit
  17. 14 Nov, 2022 1 commit
  18. 31 Oct, 2022 1 commit
    • Imre Deak's avatar
      drm/i915/tgl+: Add locking around DKL PHY register accesses · d7164a50
      Imre Deak authored
      Accessing the TypeC DKL PHY registers during modeset-commit,
      -verification, DP link-retraining and AUX power well toggling is racy
      due to these code paths being concurrent and the PHY register bank
      selection register (HIP_INDEX_REG) being shared between PHY instances
      (aka TC ports) and the bank selection being not atomic wrt. the actual
      PHY register access.
      
      Add the required locking around each PHY register bank selection->
      register access sequence.
      
      Kudos to Ville for noticing the race conditions.
      
      v2:
      - Add the DKL PHY register accessors to intel_dkl_phy.[ch]. (Jani)
      - Make the DKL_REG_TC_PORT macro independent of PHY internals.
      - Move initing the DKL PHY lock to a more logical place.
      
      v3:
      - Fix parameter reuse in the DKL_REG_TC_PORT definition.
      - Document the usage of phy_lock.
      
      v4:
      - Fix adding TC_PORT_1 offset in the DKL_REG_TC_PORT definition.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: <stable@vger.kernel.org> # v5.5+
      Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221025114457.2191004-1-imre.deak@intel.com
      (cherry picked from commit 89cb0ba4)
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      d7164a50
  19. 26 Oct, 2022 1 commit
    • Imre Deak's avatar
      drm/i915/tgl+: Add locking around DKL PHY register accesses · 89cb0ba4
      Imre Deak authored
      Accessing the TypeC DKL PHY registers during modeset-commit,
      -verification, DP link-retraining and AUX power well toggling is racy
      due to these code paths being concurrent and the PHY register bank
      selection register (HIP_INDEX_REG) being shared between PHY instances
      (aka TC ports) and the bank selection being not atomic wrt. the actual
      PHY register access.
      
      Add the required locking around each PHY register bank selection->
      register access sequence.
      
      Kudos to Ville for noticing the race conditions.
      
      v2:
      - Add the DKL PHY register accessors to intel_dkl_phy.[ch]. (Jani)
      - Make the DKL_REG_TC_PORT macro independent of PHY internals.
      - Move initing the DKL PHY lock to a more logical place.
      
      v3:
      - Fix parameter reuse in the DKL_REG_TC_PORT definition.
      - Document the usage of phy_lock.
      
      v4:
      - Fix adding TC_PORT_1 offset in the DKL_REG_TC_PORT definition.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: <stable@vger.kernel.org> # v5.5+
      Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221025114457.2191004-1-imre.deak@intel.com
      89cb0ba4
  20. 17 Oct, 2022 1 commit
  21. 03 Oct, 2022 2 commits
  22. 12 Sep, 2022 1 commit
  23. 09 Sep, 2022 1 commit
  24. 22 Jun, 2022 1 commit
  25. 20 Jun, 2022 1 commit
  26. 17 Jun, 2022 3 commits
  27. 21 Apr, 2022 4 commits
  28. 20 Apr, 2022 1 commit