From: "Naladala, Ramanaidu" <Ramanaidu.naladala@intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/psr: vbt.psr.enable is only for eDP panels
Date: Mon, 21 Oct 2024 14:10:10 +0530 [thread overview]
Message-ID: <b93fb4bb-ce8e-4a6b-92f6-3fff3c51ef1c@intel.com> (raw)
In-Reply-To: <20241021073349.1222331-1-jouni.hogander@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
Hi Jouni,
On 10/21/2024 1:03 PM, Jouni Högander wrote:
> We don't want to check vbt.psr.enable on DP Panel Replay as it is targeted
> for eDP panel usage only.
>
> Signed-off-by: Jouni Högander<jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_psr.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 3b20325b3f6a..4176163ec19a 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -233,7 +233,9 @@ static bool psr_global_enabled(struct intel_dp *intel_dp)
> switch (intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK) {
> case I915_PSR_DEBUG_DEFAULT:
> if (display->params.enable_psr == -1)
> - return connector->panel.vbt.psr.enable;
> + return intel_dp_is_edp(intel_dp) ?
> + connector->panel.vbt.psr.enable :
> + true;
LGTM,
Reviewed-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
> return display->params.enable_psr;
> case I915_PSR_DEBUG_DISABLE:
> return false;
[-- Attachment #2: Type: text/html, Size: 37569 bytes --]
next prev parent reply other threads:[~2024-10-21 8:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-21 7:33 [PATCH] drm/i915/psr: vbt.psr.enable is only for eDP panels Jouni Högander
2024-10-21 8:26 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-10-21 8:40 ` Naladala, Ramanaidu [this message]
2024-10-23 9:16 ` [PATCH] " Hogander, Jouni
2024-10-21 10:50 ` ✗ Fi.CI.IGT: failure for " Patchwork
2024-10-23 6:36 ` 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=b93fb4bb-ce8e-4a6b-92f6-3fff3c51ef1c@intel.com \
--to=ramanaidu.naladala@intel.com \
--cc=intel-gfx@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