[PATCH 01/13] drm/i915/dp: Avoid vrr compute config for HDMI sink
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Mon Sep 2 08:06:22 UTC 2024
Currently we do not support VRR with HDMI so skip vrr compute
config step for DP with HDMI sink.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 789c2f78826d..4fc60149f5ed 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3101,7 +3101,12 @@ intel_dp_compute_config(struct intel_encoder *encoder,
if (!HAS_DDI(dev_priv))
g4x_dp_set_clock(encoder, pipe_config);
- intel_vrr_compute_config(pipe_config, conn_state);
+ /*
+ * VRR via PCON is currently unsupported.
+ * TODO: Add support for VRR for DP HDMI2.1 PCON.
+ */
+ if (!intel_dp_has_hdmi_sink(intel_dp))
+ intel_vrr_compute_config(pipe_config, conn_state);
intel_dp_compute_as_sdp(intel_dp, pipe_config);
intel_psr_compute_config(intel_dp, pipe_config, conn_state);
intel_alpm_lobf_compute_config(intel_dp, pipe_config, conn_state);
--
2.45.2
More information about the Intel-gfx
mailing list