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 for Game content / active VRR.

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

Changes in v2:
  - Read HF-VSDB caps directly from connector->display_info.hdmi.vrr_cap
    and .allm instead of mirroring redundant fva/hdmi_vrr/allm flags into
    struct dc_edid_caps.
  - VRRMAX=0 now falls back to the Base Refresh Rate (highest refresh-rate
    mode of the preferred timing) instead of a hardcoded 240 Hz.
  - Rebased onto amd-staging-drm-next; the FreeSync code now lives in
    amdgpu_dm_freesync.c.
  - Reordered Signed-off-by on the drm/edid patch (author first).
  - Reworded commit messages.

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: Add HDMI ALLM support

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   |  89 +++++++++++++-
 .../display/amdgpu_dm/amdgpu_dm_freesync.c    |  43 +++++++
 .../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, 335 insertions(+), 4 deletions(-)


base-commit: c4f76bf5e107bcda6e496f1c4060c55af091fa79
-- 
2.53.0

Reply via email to