All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>, <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v4 1/3] drm/i915/psr: Do not disable Early Transport when enable_psr is set
Date: Tue, 15 Jul 2025 15:09:47 -0400	[thread overview]
Message-ID: <aHane60V4FB-hUlT@intel.com> (raw)
In-Reply-To: <20250715105509.4146806-2-jouni.hogander@intel.com>

On Tue, Jul 15, 2025 at 01:55:07PM +0300, Jouni Högander wrote:
> Current approach is that Early Transport is disabled in case enable_psr
> module parameter is set. Let's ignore enable_psr parameter when choosing if
> Early Transport can be used.
> 
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 13 +------------
>  1 file changed, 1 insertion(+), 12 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index ae9053919211..a2b5688f0c82 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -265,16 +265,6 @@ static bool psr2_global_enabled(struct intel_dp *intel_dp)
>  	}
>  }
>  
> -static bool psr2_su_region_et_global_enabled(struct intel_dp *intel_dp)
> -{
> -	struct intel_display *display = to_intel_display(intel_dp);
> -
> -	if (display->params.enable_psr != -1)
> -		return false;
> -
> -	return true;
> -}
> -
>  static bool panel_replay_global_enabled(struct intel_dp *intel_dp)
>  {
>  	struct intel_display *display = to_intel_display(intel_dp);
> @@ -742,8 +732,7 @@ static bool psr2_su_region_et_valid(struct intel_dp *intel_dp, bool panel_replay
>  	return panel_replay ?
>  		intel_dp->pr_dpcd[INTEL_PR_DPCD_INDEX(DP_PANEL_REPLAY_CAP_SUPPORT)] &
>  		DP_PANEL_REPLAY_EARLY_TRANSPORT_SUPPORT :
> -		intel_dp->psr_dpcd[0] == DP_PSR2_WITH_Y_COORD_ET_SUPPORTED &&
> -		psr2_su_region_et_global_enabled(intel_dp);
> +		intel_dp->psr_dpcd[0] == DP_PSR2_WITH_Y_COORD_ET_SUPPORTED;
>  }
>  
>  static void _panel_replay_enable_sink(struct intel_dp *intel_dp,
> -- 
> 2.43.0
> 

  reply	other threads:[~2025-07-15 19:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 10:55 [PATCH v4 0/3] Enable_psr kernel parameter changes Jouni Högander
2025-07-15 10:55 ` [PATCH v4 1/3] drm/i915/psr: Do not disable Early Transport when enable_psr is set Jouni Högander
2025-07-15 19:09   ` Rodrigo Vivi [this message]
2025-07-21  8:02     ` Hogander, Jouni
2025-07-15 10:55 ` [PATCH v4 2/3] drm/i915/psr: Ignore enable_psr parameter on Panel Replay Jouni Högander
2025-07-15 19:09   ` Rodrigo Vivi
2025-07-15 10:55 ` [PATCH v4 3/3] drm/i915/psr: Add enable_panel_replay module parameter Jouni Högander
2025-07-15 19:10   ` Rodrigo Vivi
2025-07-15 13:42 ` ✗ CI.checkpatch: warning for Enable_psr kernel parameter changes (rev4) Patchwork
2025-07-15 13:43 ` ✓ CI.KUnit: success " Patchwork
2025-07-15 14:34 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-15 19:48 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-21  7:49   ` Hogander, Jouni
2025-07-15 20:43 ` ✓ i915.CI.BAT: success " Patchwork
2025-07-16  4:24 ` ✗ i915.CI.Full: failure " Patchwork
2025-07-21  7:53   ` Hogander, Jouni

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=aHane60V4FB-hUlT@intel.com \
    --to=rodrigo.vivi@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.