All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 12/12] drm/i915/psr: Do not disable Panel Replay in case VRR is enabled
Date: Wed, 21 May 2025 10:31:22 +0530	[thread overview]
Message-ID: <3fd9c099-eae0-4f14-89a5-ad463471e3d3@intel.com> (raw)
In-Reply-To: <20250520165326.1631330-13-jouni.hogander@intel.com>


On 5/20/2025 10:23 PM, Jouni Högander wrote:
> This patch is allowing Panel Replay with VRR. All VRR modes are supposed to


I think you missed to remove `patch` from the commit message.


Regards,

Ankit

> work with Panel Replay.
>
> Bspec: 68920, 68925
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_psr.c | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 38535e0d2496..db7111374293 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1579,6 +1579,12 @@ static bool _psr_compute_config(struct intel_dp *intel_dp,
>   	if (!CAN_PSR(intel_dp))
>   		return false;
>   
> +	/*
> +	 * Currently PSR doesn't work reliably with VRR enabled.
> +	 */
> +	if (crtc_state->vrr.enable)
> +		return false;
> +
>   	entry_setup_frames = intel_psr_entry_setup_frames(intel_dp, adjusted_mode);
>   
>   	if (entry_setup_frames >= 0) {
> @@ -1696,12 +1702,6 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
>   		return;
>   	}
>   
> -	/*
> -	 * Currently PSR/PR doesn't work reliably with VRR enabled.
> -	 */
> -	if (crtc_state->vrr.enable)
> -		return;
> -
>   	crtc_state->has_panel_replay = _panel_replay_compute_config(intel_dp,
>   								    crtc_state,
>   								    conn_state);

  reply	other threads:[~2025-05-21  5:01 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-20 16:53 [PATCH v2 00/12] Panel Replay + Adaptive sync Jouni Högander
2025-05-20 16:53 ` [PATCH v2 01/12] drm/panelreplay: Panel Replay capability DPCD register definitions Jouni Högander
2025-05-21  4:50   ` Nautiyal, Ankit K
2025-05-20 16:53 ` [PATCH v2 02/12] drm/dp: Add Panel Replay capability bits from DP2.1 specification Jouni Högander
2025-05-21  4:49   ` Nautiyal, Ankit K
2025-05-21  5:40     ` Hogander, Jouni
2025-05-20 16:53 ` [PATCH v2 03/12] drm/i915/psr: Read all Panel Replay capability registers from DPCD Jouni Högander
2025-05-21  4:52   ` Nautiyal, Ankit K
2025-05-20 16:53 ` [PATCH v2 04/12] drm/i915/alpm: Add PR_ALPM_CTL register definitions Jouni Högander
2025-05-20 16:53 ` [PATCH v2 05/12] drm/i915/alpm: Write PR_ALPM_CTL register Jouni Högander
2025-05-20 16:53 ` [PATCH v2 06/12] drm/i915/psr: Add interface to check if AUXLess ALPM is needed by PSR Jouni Högander
2025-05-20 16:53 ` [PATCH v2 07/12] drm/i915/alpm: Add new interface to check if AUXLess ALPM is used Jouni Högander
2025-05-20 16:53 ` [PATCH v2 08/12] drm/i915/alpm: Move port alpm configuration Jouni Högander
2025-05-21  4:53   ` Nautiyal, Ankit K
2025-05-20 16:53 ` [PATCH v2 09/12] drm/i915/display: Add PHY_CMN1_CONTROL register definitions Jouni Högander
2025-05-20 16:53 ` [PATCH v2 10/12] drm/i915/display: Add function to configure LFPS sending Jouni Högander
2025-05-21  5:00   ` Nautiyal, Ankit K
2025-05-21  5:42     ` Hogander, Jouni
2025-05-20 16:53 ` [PATCH v2 11/12] drm/i915/psr: Fix using wrong mask in REG_FIELD_PREP Jouni Högander
2025-05-20 16:53 ` [PATCH v2 12/12] drm/i915/psr: Do not disable Panel Replay in case VRR is enabled Jouni Högander
2025-05-21  5:01   ` Nautiyal, Ankit K [this message]
2025-05-21  5:42     ` Hogander, Jouni
2025-05-20 17:39 ` ✗ Fi.CI.CHECKPATCH: warning for Panel Replay + Adaptive sync (rev2) Patchwork
2025-05-20 17:39 ` ✗ Fi.CI.SPARSE: " Patchwork
2025-05-20 17:53 ` ✓ CI.Patch_applied: success " Patchwork
2025-05-20 17:54 ` ✗ CI.checkpatch: warning " Patchwork
2025-05-20 17:55 ` ✓ CI.KUnit: success " Patchwork
2025-05-20 18:00 ` ✓ i915.CI.BAT: " Patchwork
2025-05-20 18:05 ` ✓ CI.Build: " Patchwork
2025-05-20 18:08 ` ✓ CI.Hooks: " Patchwork
2025-05-20 18:09 ` ✗ CI.checksparse: warning " Patchwork
2025-05-20 18:38 ` ✓ Xe.CI.BAT: success " Patchwork
2025-05-20 21:04 ` ✓ i915.CI.Full: " Patchwork
2025-05-21  3:55 ` ✗ 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=3fd9c099-eae0-4f14-89a5-ad463471e3d3@intel.com \
    --to=ankit.k.nautiyal@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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.