drm/i915/vrr: Avoid vrr for PCON with HDMI2.1 sink

Currently we do not support VRR with HDMI so skip vrr compute
config step for all DP branch devices.

v2: Restrict VRR on all DP branch devices instead for checking only for
    HDMI. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260424090942.3060291-2-ankit.k.nautiyal@intel.com
This commit is contained in:
Ankit Nautiyal 2026-04-24 14:39:40 +05:30
parent 28ecf45468
commit 60656fa8fe

View File

@ -55,6 +55,16 @@ bool intel_vrr_is_capable(struct intel_connector *connector)
if (connector->mst.dp)
return false;
intel_dp = intel_attached_dp(connector);
/*
* Among non-MST DP branch devices, only an HDMI 2.1 sink connected
* via a PCON could support VRR. However, supporting VRR through a
* PCON requires non-trivial changes that are not implemented yet.
* Until that support exists, avoid VRR on all DP branch devices.
*
* TODO: Add support for VRR for DP->HDMI 2.1 PCON.
*/
if (drm_dp_is_branch(intel_dp->dpcd))
return false;
if (!drm_dp_sink_can_do_video_without_timing_msa(intel_dp->dpcd))
return false;