AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] amdgpu: Enable Adaptive Sync over PCON with HDMI VRR
@ 2026-01-13 21:41 Tomasz Pakuła
  2026-01-13 21:41 ` [PATCH v2 1/3] drm/edid: parse more info from HDMI Forum vsdb Tomasz Pakuła
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tomasz Pakuła @ 2026-01-13 21:41 UTC (permalink / raw)
  To: alexander.deucher, maarten.lankhorst, mripard, tzimmermann,
	airlied, simona, harry.wentland, sunpeng.li, siqueira
  Cc: dri-devel, amd-gfx, linux-kernel

Adaptive Sync over PCON is only available as FreeSync over HDMI. TVs which do
not support FreeSync, do not have working VRR with DP -> HDMI 2.1 adapters even
though adapters will take care of HDMI VRR info packets.

Since HDMI VRR relies on FRL modes, this will only be enabled for PCONs in the
VRR whitelist. HDMI VRR for native HDMI connector will still not be
possible/attempted.

I myself validated these changes with my Samsung S95B + Bernhard validated on
LG C4 + FreeSync-less Sony Bravia 8. I used Alienware AW3423DWF that only
has HDMI 2.0 to check that FreeSync still triggers properly for "older" hardware

For missing VRRmax or VRRmax == 0, the upper boundary is the currently selected
video mode refresh rate. I wasn't sure how best to implement it but 10000
works since the driver already limits VRR range to the currently selected
video mode and 10000 Hz should be good enough for years to come.

Changes in v2:
- More info parsed from HDMI Forum vsdb
- EDID parsing squashed into one commit
- Support for VRRmax == 0

Tomasz Pakuła (3):
  drm/edid: parse more info from HDMI Forum vsdb
  drm/amd/display: rename PCON adaptive sync types
  drm/amd/display: enable HDMI VRR over PCON

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 27 +++++++++--
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |  2 +-
 .../amd/display/modules/inc/mod_info_packet.h |  4 +-
 .../display/modules/info_packet/info_packet.c |  4 +-
 drivers/gpu/drm/drm_edid.c                    | 41 +++++++++++++++-
 include/drm/drm_connector.h                   | 47 +++++++++++++++++++
 6 files changed, 114 insertions(+), 11 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-19  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 21:41 [PATCH v2 0/3] amdgpu: Enable Adaptive Sync over PCON with HDMI VRR Tomasz Pakuła
2026-01-13 21:41 ` [PATCH v2 1/3] drm/edid: parse more info from HDMI Forum vsdb Tomasz Pakuła
2026-01-13 21:41 ` [PATCH v2 2/3] drm/amd/display: rename PCON adaptive sync types Tomasz Pakuła
2026-01-13 21:41 ` [PATCH v2 3/3] drm/amd/display: enable HDMI VRR over PCON Tomasz Pakuła
2026-01-18 11:41 ` [PATCH v2 0/3] amdgpu: Enable Adaptive Sync over PCON with HDMI VRR Tomasz Pakuła

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox