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
