Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org, ville.syrjala@linux.intel.com,
	jani.nikula@intel.com, ankit.k.nautiyal@intel.com
Subject: [PATCH v5 6/6] drm/i915/display: Move as sdp params change to fastset
Date: Mon,  2 Dec 2024 08:15:40 +0530	[thread overview]
Message-ID: <20241202024540.2578856-7-mitulkumar.ajitkumar.golani@intel.com> (raw)
In-Reply-To: <20241202024540.2578856-1-mitulkumar.ajitkumar.golani@intel.com>

as_sdp param changes from vrr to cmrr should happen to fastset.
Changing as_sdp params should not trigger any modeset.

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

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 4805bf682d43..708e3f86db8f 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -5711,10 +5711,11 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 	PIPE_CONF_CHECK_INFOFRAME(avi);
 	PIPE_CONF_CHECK_INFOFRAME(spd);
 	PIPE_CONF_CHECK_INFOFRAME(hdmi);
-	if (!fastset)
+	if (!fastset) {
 		PIPE_CONF_CHECK_INFOFRAME(drm);
+		PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
+	}
 	PIPE_CONF_CHECK_DP_VSC_SDP(vsc);
-	PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
 
 	PIPE_CONF_CHECK_X(sync_mode_slaves_mask);
 	PIPE_CONF_CHECK_I(master_transcoder);
-- 
2.46.0


  parent reply	other threads:[~2024-12-02  2:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02  2:45 [PATCH v5 0/6] Add AS_SDP to fastset Mitul Golani
2024-12-02  2:45 ` [PATCH v5 1/6] drm/i915/vrr: Add crtc_state dump for vrr.vsync params Mitul Golani
2024-12-05  4:48   ` Nautiyal, Ankit K
2024-12-02  2:45 ` [PATCH v5 2/6] drm/i915/vrr: Compute vrr.vsync_{start, end} during full modeset Mitul Golani
2024-12-05  4:49   ` Nautiyal, Ankit K
2024-12-02  2:45 ` [PATCH v5 3/6] drm/i915/dp: fix the Adaptive sync Operation mode for SDP Mitul Golani
2024-12-02  2:45 ` [PATCH v5 4/6] drm/i915/dp: Compute as_sdp.vtotal based on vrr timings Mitul Golani
2024-12-05  4:50   ` Nautiyal, Ankit K
2024-12-02  2:45 ` [PATCH v5 5/6] drm/i915/dp: Compute as_sdp based on if vrr possible Mitul Golani
2024-12-02  2:45 ` Mitul Golani [this message]
2024-12-02  2:49 ` ✓ CI.Patch_applied: success for Add AS_SDP to fastset (rev2) Patchwork
2024-12-02  2:49 ` ✓ CI.checkpatch: " Patchwork
2024-12-02  2:50 ` ✓ CI.KUnit: " Patchwork
2024-12-02  3:08 ` ✓ CI.Build: " Patchwork
2024-12-02  3:10 ` ✓ CI.Hooks: " Patchwork
2024-12-02  3:12 ` ✗ CI.checksparse: warning " 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=20241202024540.2578856-7-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=jani.nikula@intel.com \
    --cc=ville.syrjala@linux.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