All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i915/display/dp: Compute AS SDP when vrr is also enabled
@ 2024-07-25 13:31 Mitul Golani
  2024-07-25 14:12 ` Jani Nikula
                   ` (16 more replies)
  0 siblings, 17 replies; 22+ messages in thread
From: Mitul Golani @ 2024-07-25 13:31 UTC (permalink / raw)
  To: intel-gfx; +Cc: ankit.k.nautiyal

AS SDP should be computed when VRR timing generator is also enabled.
Correct the compute condition to compute params of Adaptive sync SDP
when VRR timing genrator is enabled along with sink support indication.

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 5d6568c8e186..dc75d1c14a94 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -2617,7 +2617,7 @@ static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp,
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 
-	if (!crtc_state->vrr.enable || intel_dp->as_sdp_supported)
+	if (!(crtc_state->vrr.enable && intel_dp->as_sdp_supported))
 		return;
 
 	crtc_state->infoframes.enable |= intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC);
-- 
2.45.2


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

end of thread, other threads:[~2024-07-30 15:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 13:31 [PATCH] i915/display/dp: Compute AS SDP when vrr is also enabled Mitul Golani
2024-07-25 14:12 ` Jani Nikula
2024-07-26  8:50   ` Golani, Mitulkumar Ajitkumar
2024-07-25 14:17 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-07-26  3:59 ` ✓ Fi.CI.IGT: " Patchwork
2024-07-26  8:50 ` [PATCH v2] " Mitul Golani
2024-07-29 14:37   ` Nautiyal, Ankit K
2024-07-30  4:09   ` [PATCH v3] " Mitul Golani
2024-07-30 11:44     ` Nautiyal, Ankit K
2024-07-26  9:36 ` ✓ Fi.CI.BAT: success for i915/display/dp: Compute AS SDP when vrr is also enabled (rev2) Patchwork
2024-07-27  3:37 ` ✓ Fi.CI.IGT: " Patchwork
2024-07-30  4:14 ` ✓ CI.Patch_applied: success for i915/display/dp: Compute AS SDP when vrr is also enabled Patchwork
2024-07-30  4:14 ` ✓ CI.checkpatch: " Patchwork
2024-07-30  4:15 ` ✓ CI.KUnit: " Patchwork
2024-07-30  4:27 ` ✓ CI.Build: " Patchwork
2024-07-30  4:29 ` ✓ CI.Hooks: " Patchwork
2024-07-30  4:31 ` ✗ CI.checksparse: warning " Patchwork
2024-07-30  4:50 ` ✓ CI.BAT: success " Patchwork
2024-07-30  5:06 ` ✗ Fi.CI.BAT: failure for i915/display/dp: Compute AS SDP when vrr is also enabled (rev3) Patchwork
2024-07-30  5:40 ` ✗ CI.FULL: failure for i915/display/dp: Compute AS SDP when vrr is also enabled Patchwork
2024-07-30  7:52 ` ✓ Fi.CI.BAT: success for i915/display/dp: Compute AS SDP when vrr is also enabled (rev3) Patchwork
2024-07-30 15:54 ` ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.