Skip to content

Add support for DP-HDMI2.1 PCON

Ankit Nautiyal dri-devel intel-gfx 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest15 patches 13 repliesIn review
  2. v515 patches 1 replySuperseded
  3. v416 patches 11 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v313 patches0 repliesSuperseded
v213 patches15 repliesSuperseded
v1 RFC13 patches24 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15drm/edid: Add additional HFVSDB fields for HDMI2.1include/drm/drm_edid.h+30 -00 replies
2/15drm/edid: Parse MAX_FRL field from HFVSDB blockdrivers/gpu/drm/drm_edid.c include/drm/drm_connector.h+50 -00 replies
3/15drm/edid: Parse DSC1.2 cap fields from HFVSDB blockdrivers/gpu/drm/drm_edid.c include/drm/drm_connector.h+102 -00 replies
4/15drm/dp_helper: Add Helpers for FRL Link Training support for DP-HDMI2.1 PCONdrivers/gpu/drm/drm_dp_helper.c include/drm/drm_dp_helper.h+333 -01 reply
5/15drm/dp_helper: Add support for link failure detectiondrivers/gpu/drm/drm_dp_helper.c include/drm/drm_dp_helper.h+56 -00 replies
6/15drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcondrivers/gpu/drm/drm_dp_helper.c include/drm/drm_dp_helper.h+317 -00 replies
7/15drm/dp_helper: Add helpers to configure PCONs RGB-YCbCr Conversiondrivers/gpu/drm/drm_dp_helper.c include/drm/drm_dp_helper.h+79 -10 replies
8/15drm/i915: Capture max frl rate for PCON in dfp cap structuredrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp.c+29 -20 replies
9/15drm/i915: Add support for starting FRL training for HDMI2.1 via PCONdrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h+160 -04 replies
10/15drm/i915: Check for FRL training before DP Link trainingdrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp.c+4 -00 replies
11/15drm/i915: Add support for enabling link status and recoverydrivers/gpu/drm/i915/display/intel_dp.c+50 -31 reply
12/15drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoderdrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp.c+21 -00 replies
13/15drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1drivers/gpu/drm/i915/display/intel_hdmi.c drivers/gpu/drm/i915/display/intel_hdmi.h+240 -00 replies
14/15drm/i915/display: Configure PCON for DSC1.1 to DSC1.2 encodingdrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h+119 -20 replies
15/15drm/i915/display: Let PCON convert from RGB to YCbCr if it candrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp.c +1 more+65 -141 reply

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchUma Shankar
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 00/15] Add support for DP-HDMI2.1 PCON

This patch series attempts to add support for a DP-HDMI2.1 Protocol Convertor. The VESA spec for the HDMI2.1 PCON are proposed in Errata E5 to DisplayPort_v2.0:
https://vesa.org/join-vesamemberships/member-downloads/?action=stamp&fileid=42299
The details are mentioned in:
VESA DP-to-HDMI PCON Specification Standalone Document
https://groups.vesa.org/wg/DP/document/15651

This series starts with adding support for FRL (Fixed Rate Link) Training between the PCON and HDMI2.1 sink.
As per HDMI2.1 specification, a new data-channel or lane is added in FRL mode, by repurposing the TMDS clock Channel. Through FRL, higher bit-rate can be supported, ie. up to 12 Gbps/lane (48 Gbps over 4 lanes).

With these patches, the HDMI2.1 PCON can be configured to achieve FRL training based on the maximum FRL rate supported by the panel, source and the PCON.
The approach is to add the support for FRL training between PCON and HDMI2.1 sink and gradually add other blocks for supporting higher resolutions and other HDMI2.1 features, that can be supported by pcon for the sources that do not natively support HDMI2.1.

This is done before the DP Link training between the source and PCON is started. In case of FRL training is not achieved, the PCON will work in the regular TMDS mode, without HDMI2.1 feature support. Any interruption in FRL training between the PCON and HDMI2.1 sink is notified through IRQ_HPD. On receiving the IRQ_HPD the concerned DPCD registers are read and FRL training is re-attempted.

Currently, we have tested the FRL training and are able to enable 4K display with TGL Platform + Realtek PCON RTD2173 with HDMI2.1 supporting panel.

v2: Addressed review comments and re-organized patches as suggested in comments on RFC patches.

v3: Addressed review comments on previous version.

v4: Added support for RGB->YCBCR conversion through PCON

v5: Addressed review comments on previous version.

v6: Fix typo in one of the patch.

v7: Rebased on latest drm-tip and addressed the review comments.

Ankit Nautiyal (11):
drm/edid: Parse DSC1.2 cap fields from HFVSDB block drm/dp_helper: Add Helpers for FRL Link Training support for

    DP-HDMI2.1 PCON
  drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcon
  drm/dp_helper: Add helpers to configure PCONs RGB-YCbCr Conversion
  drm/i915: Capture max frl rate for PCON in dfp cap structure
  drm/i915: Add support for starting FRL training for HDMI2.1 via PCON
  drm/i915: Check for FRL training before DP Link training
  drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder
  drm/i915: Add helper functions for calculating DSC parameters for
    HDMI2.1

drm/i915/display: Configure PCON for DSC1.1 to DSC1.2 encoding drm/i915/display: Let PCON convert from RGB to YCbCr if it can

Swati Sharma (4):
drm/edid: Add additional HFVSDB fields for HDMI2.1 drm/edid: Parse MAX_FRL field from HFVSDB block drm/dp_helper: Add support for link failure detection drm/i915: Add support for enabling link status and recovery

 drivers/gpu/drm/drm_dp_helper.c               | 566 ++++++++++++++++++
 drivers/gpu/drm/drm_edid.c                    | 103 ++++
 drivers/gpu/drm/i915/display/intel_ddi.c      |   6 +-
 .../drm/i915/display/intel_display_types.h    |  10 +
 drivers/gpu/drm/i915/display/intel_dp.c       | 442 +++++++++++++-
 drivers/gpu/drm/i915/display/intel_dp.h       |   7 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     | 233 +++++++
 drivers/gpu/drm/i915/display/intel_hdmi.h     |   7 +
 include/drm/drm_connector.h                   |  49 ++
 include/drm/drm_dp_helper.h                   | 218 +++++++
 include/drm/drm_edid.h                        |  30 +
 11 files changed, 1652 insertions(+), 19 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel