From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Cc: <uma.shankar@intel.com>, <ville.syrjala@linux.intel.com>
Subject: Re: [PATCH v6 5/6] drm/i915/dp: Compute as_sdp based on if vrr possible
Date: Thu, 30 Jan 2025 11:44:19 +0530 [thread overview]
Message-ID: <95d1542f-0cd7-431c-bf34-b68871514160@intel.com> (raw)
In-Reply-To: <20250130051609.1796524-6-mitulkumar.ajitkumar.golani@intel.com>
On 1/30/2025 10:46 AM, Mitul Golani wrote:
> Adaptive sync sdp param computation, we can configure during
> full modeset as well when sink is having vrr support, where
> it doesn't need dependency on vrr.enable status and can also
> match vrr enable/disable fastset requirement.
>
> --v2:
> - Separate the change from as_sdp.vtotal. [Ankit]
>
> Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
LGTM.
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@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 f876dbeb6121..80214a559013 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -2826,7 +2826,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 (!intel_vrr_possible(crtc_state) || !intel_dp->as_sdp_supported)
> return;
>
> crtc_state->infoframes.enable |= intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC);
next prev parent reply other threads:[~2025-01-30 6:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 5:16 [PATCH v6 0/6] Add AS_SDP to fastset Mitul Golani
2025-01-30 5:16 ` [PATCH v6 1/6] drm/i915/vrr: Add crtc_state dump for vrr.vsync params Mitul Golani
2025-01-30 5:16 ` [PATCH v6 2/6] drm/i915/vrr: Compute vrr.vsync_{start, end} during full modeset Mitul Golani
2025-01-30 5:16 ` [PATCH v6 3/6] drm/i915/dp: fix the Adaptive sync Operation mode for SDP Mitul Golani
2025-01-30 5:16 ` [PATCH v6 4/6] drm/i915/dp: Compute as_sdp.vtotal based on vrr timings Mitul Golani
2025-01-30 5:16 ` [PATCH v6 5/6] drm/i915/dp: Compute as_sdp based on if vrr possible Mitul Golani
2025-01-30 6:14 ` Nautiyal, Ankit K [this message]
2025-01-30 5:16 ` [PATCH v6 6/6] drm/i915/display: Move as sdp params change to fastset Mitul Golani
2025-01-30 6:15 ` Nautiyal, Ankit K
2025-01-30 5:26 ` ✓ CI.Patch_applied: success for Add AS_SDP to fastset (rev3) Patchwork
2025-01-30 5:26 ` ✓ CI.checkpatch: " Patchwork
2025-01-30 5:28 ` ✓ CI.KUnit: " Patchwork
2025-01-30 5:44 ` ✓ CI.Build: " Patchwork
2025-01-30 5:46 ` ✓ CI.Hooks: " Patchwork
2025-01-30 5:48 ` ✓ CI.checksparse: " Patchwork
2025-01-30 6:08 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-30 8:39 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-30 8:59 ` Golani, Mitulkumar Ajitkumar
2025-01-30 14:37 ` [PATCH v6 0/6] Add AS_SDP to fastset 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=95d1542f-0cd7-431c-bf34-b68871514160@intel.com \
--to=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=mitulkumar.ajitkumar.golani@intel.com \
--cc=uma.shankar@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