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 v2 2/2] Revert "drm/i915/dp: Compute as_sdp based on if vrr possible"
Date: Tue, 4 Feb 2025 18:36:38 +0530 [thread overview]
Message-ID: <20250204130638.2800372-3-mitulkumar.ajitkumar.golani@intel.com> (raw)
In-Reply-To: <20250204130638.2800372-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>
---
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 cc6aba353c11..8b03f604b240 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -2798,7 +2798,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
next prev parent reply other threads:[~2025-02-04 13:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 13:06 [PATCH v2 0/2] Compute as_sdp when vrr is enabled Mitul Golani
2025-02-04 13:06 ` [PATCH v2 1/2] drm/i915/display: Skip state checker for AS SDP infoframe enable Mitul Golani
2025-02-06 4:13 ` Nautiyal, Ankit K
2025-02-04 13:06 ` Mitul Golani [this message]
2025-02-04 14:00 ` [PATCH v2 0/2] Compute as_sdp when vrr is enabled Hogander, Jouni
2025-02-04 14:32 ` ✓ CI.Patch_applied: success for " Patchwork
2025-02-04 14:32 ` ✓ CI.checkpatch: " Patchwork
2025-02-04 14:34 ` ✓ CI.KUnit: " Patchwork
2025-02-04 14:50 ` ✓ CI.Build: " Patchwork
2025-02-04 14:53 ` ✓ CI.Hooks: " Patchwork
2025-02-04 14:54 ` ✓ CI.checksparse: " Patchwork
2025-02-04 15:15 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-04 17:30 ` ✗ Xe.CI.Full: failure " Patchwork
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=20250204130638.2800372-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox