Skip to content

HDMI 2.1 VRR and ALLM support

Fangzhi Zuo amd-gfx dri-devel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 5 repliesIn review
  2. v34 patches 11 repliesSuperseded
  3. v24 patches 7 repliesSuperseded

Changes in v4 from the cover letter

- Drop the content-type based ALLM heuristic. ALLM_Mode is now set only for the mandatory Gaming-VRR case (VRR_EN=1 with a sink that advertises ALLM), per HDMI 2.1 Section 7.6.6; it is no longer derived from the content type.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Blockdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c drivers/gpu/drm/amd/display/modules/inc/mod_info_packet.h +1 more+120 -10 replies
2/4drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDBdrivers/gpu/drm/drm_edid.c include/drm/drm_connector.h+89 -00 replies
3/4drm/amd/display: Add HDMI 2.1 VRR support from HF-VSDBdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c+75 -00 replies
4/4drm/amd/display: Enable HDMI ALLM for Gaming-VRRdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c+33 -11 reply

Reviews trailers per patch

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

PatchBernhard BergerHarry Wentland
1/4R-b
2/4T-b R-b
3/4R-b
4/4R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] HDMI 2.1 VRR and ALLM support

This series adds HDMI 2.1 gaming support to amdgpu: Variable Refresh Rate (VRR) derived from the HDMI Forum VSDB (HF-VSDB), and Auto Low-Latency Mode (ALLM). It builds on a drm/edid patch that parses the HF-VSDB gaming capabilities into struct drm_hdmi_info.

- Patch 1 reports FreeSync from the AMD VSDB (existing mechanism).
- Patch 2 (drm/edid) parses the HF-VSDB VRR range and ALLM bit.
- Patch 3 enables VRR from the HF-VSDB when the AMD VSDB has no range.
- Patch 4 signals ALLM_Mode in the HF-VSIF when Gaming-VRR is active.

v1: https://lore.kernel.org/amd-gfx/[email protected]/
v2: https://lore.kernel.org/amd-gfx/[email protected]/
v3: https://lore.kernel.org/amd-gfx/[email protected]/

Changes since v3:
- Drop the content-type based ALLM heuristic. ALLM_Mode is now set only for the mandatory Gaming-VRR case (VRR_EN=1 with a sink that advertises ALLM), per HDMI 2.1 Section 7.6.6; it is no longer derived from the content type.

Changes since v2:
- Fix coding-style issues in the VTEM info-packet code.

Fangzhi Zuo (3):
drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Block drm/amd/display: Add HDMI 2.1 VRR support from HF-VSDB drm/amd/display: Enable HDMI ALLM for Gaming-VRR

Tomasz Pakuła (1):
drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDB

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   5 +-
 .../display/amdgpu_dm/amdgpu_dm_connector.c   |  71 +++++++++++-
 .../display/amdgpu_dm/amdgpu_dm_freesync.c    |  41 +++++++
 .../amd/display/modules/inc/mod_info_packet.h |   4 +
 .../display/modules/info_packet/info_packet.c | 109 ++++++++++++++++++
 drivers/gpu/drm/drm_edid.c                    |  42 +++++++
 include/drm/drm_connector.h                   |  47 ++++++++
 7 files changed, 317 insertions(+), 2 deletions(-)

base-commit: de2622bbc20276eaaaafa8fdbd374ace1ced28dc

Signature · 1 line
2.53.0