1. 16 Oct, 2023 2 commits
    • Imre Deak's avatar
      drm/i915/dp: Store DSC DPCD capabilities in the connector · 7389829f
      Imre Deak authored
      In an MST topology the DSC capabilities are specific to each connector,
      retrieved either from the sink if it decompresses the stream, or from a
      branch device between the source and the sink in case this branch device
      does the decompression. Accordingly each connector needs to cache its
      own DSC DPCD and FEC capabilities, along with the AUX device through
      which the decompression can be enabled. This patch prepares for that by
      storing the capabilities and the DSC AUX device in the connector, for
      now these just matching the version stored in intel_dp. The follow-up
      patches will convert all users to look up these in the connector instead
      of intel_dp, after which the intel_dp copies are removed.
      
      v2:
      - Rebased on intel_edp_get_dsc_sink_cap() addition in previous patch.
      v3:
      - Rebased on read-out fix for eDP in previous patch.
      
      Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> (v1)
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231011171606.2540078-2-imre.deak@intel.com
      7389829f
    • Imre Deak's avatar
      drm/i915/dp: Sanitize DPCD revision check in intel_dp_get_dsc_sink_cap() · 90780a63
      Imre Deak authored
      Check only the eDP or the DP specific DPCD revision depending on the
      sink type. Pass the corresponding revision to the function, which allows
      getting the DSC caps of a branch device (in an MST topology, which has
      its own DPCD and so DPCD revision).
      
      While at it use DP_DPCD_REV_14 instead of open coding it and for clarity
      add a separate function to read out the DSC capability on eDP.
      
      v2:
      - Use DP_DPCD_REV_14 instead of open coding it. (Stan)
      - Check EDP_DCPD_REV/DPCD_REV in a clearer way. (Ville)
      v3:
      - Fix the read-out for eDP in intel_dp_detect().
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> (v1)
      Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v2)
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231011171606.2540078-1-imre.deak@intel.com
      90780a63
  2. 13 Oct, 2023 4 commits
  3. 12 Oct, 2023 8 commits
  4. 11 Oct, 2023 13 commits
  5. 10 Oct, 2023 2 commits
  6. 09 Oct, 2023 1 commit
  7. 07 Oct, 2023 1 commit
  8. 06 Oct, 2023 9 commits