Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "Naladala, Ramanaidu" <ramanaidu.naladala@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915/psr: vbt.psr.enable is only for eDP panels
Date: Wed, 23 Oct 2024 09:16:43 +0000	[thread overview]
Message-ID: <477310bcb011a0b4f48624b31b112519059d3cb3.camel@intel.com> (raw)
In-Reply-To: <b93fb4bb-ce8e-4a6b-92f6-3fff3c51ef1c@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

On Mon, 2024-10-21 at 14:10 +0530, Naladala, Ramanaidu wrote:

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><mailto: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<mailto:ramanaidu.naladala@intel.com>>

Thank you Ramanaidu for checking my patch. This is now pushed to drm-intel-next.

BR,

Jouni Högander


                return display->params.enable_psr;

        case I915_PSR_DEBUG_DISABLE:

                return false;


[-- Attachment #2: Type: text/html, Size: 3066 bytes --]

  reply	other threads:[~2024-10-23  9:16 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 ` [PATCH] " Naladala, Ramanaidu
2024-10-23  9:16   ` Hogander, Jouni [this message]
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=477310bcb011a0b4f48624b31b112519059d3cb3.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ramanaidu.naladala@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