All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Cc: jouni.hogander@intel.com, ankit.k.nautiyal@intel.com
Subject: [PATCH v3 2/2] Revert "drm/i915/dp: Compute as_sdp based on if vrr possible"
Date: Thu,  6 Feb 2025 10:20:01 +0530	[thread overview]
Message-ID: <20250206045001.2919360-3-mitulkumar.ajitkumar.golani@intel.com> (raw)
In-Reply-To: <20250206045001.2919360-1-mitulkumar.ajitkumar.golani@intel.com>

This reverts commit 08277aa5d5a44befd71717de35b956f55e1e8401.

Compute AS SDP params only when VRR is enabled to maintain
PSR exclusivity.

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@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 cd53070d7ea2..f7bd6946910d 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -2817,7 +2817,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 (!intel_vrr_possible(crtc_state) || !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.48.1


  parent reply	other threads:[~2025-02-06  4:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06  4:49 [PATCH v3 0/2] Compute as_sdp when vrr is enabled Mitul Golani
2025-02-06  4:50 ` [PATCH v3 1/2] drm/i915/display: Skip state checker for AS SDP infoframe enable Mitul Golani
2025-02-06  4:50 ` Mitul Golani [this message]
2025-02-06  5:04 ` ✓ CI.Patch_applied: success for Compute as_sdp when vrr is enabled (rev2) Patchwork
2025-02-06  5:04 ` ✓ CI.checkpatch: " Patchwork
2025-02-06  5:05 ` ✓ CI.KUnit: " Patchwork
2025-02-06  5:22 ` ✓ CI.Build: " Patchwork
2025-02-06  5:24 ` ✓ CI.Hooks: " Patchwork
2025-02-06  5:26 ` ✓ CI.checksparse: " Patchwork
2025-02-06  5:34 ` ✗ Fi.CI.SPARSE: warning for Compute as_sdp when vrr is enabled (rev3) Patchwork
2025-02-06  5:46 ` ✓ Xe.CI.BAT: success for Compute as_sdp when vrr is enabled (rev2) Patchwork
2025-02-06  6:42 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-06 15:43 ` ✗ i915.CI.BAT: failure for Compute as_sdp when vrr is enabled (rev3) Patchwork
2025-02-07  3:45   ` Golani, Mitulkumar Ajitkumar
2025-02-07  4:52 ` ✓ i915.CI.BAT: success " Patchwork
2025-02-07  5:29 ` ✓ i915.CI.Full: " Patchwork
2025-02-07  6:33 ` [PATCH v3 0/2] Compute as_sdp when vrr is enabled Nautiyal, Ankit K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250206045001.2919360-3-mitulkumar.ajitkumar.golani@intel.com \
    --to=mitulkumar.ajitkumar.golani@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jouni.hogander@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.