From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: animesh.manna@intel.com, mika.kahola@intel.com,
"Jouni Högander" <jouni.hogander@intel.com>
Subject: Re: [PATCH v9 01/11] drm/i915/psr: Check panel ALPM capability for eDP Panel Replay
Date: Wed, 19 Jun 2024 12:06:37 +0300 [thread overview]
Message-ID: <87le31fgiq.fsf@intel.com> (raw)
In-Reply-To: <20240619062131.4021196-2-jouni.hogander@intel.com>
On Wed, 19 Jun 2024, Jouni Högander <jouni.hogander@intel.com> wrote:
> Our HW doesn't support Panel Replay without AUX_LESS ALPM on eDP. Check
> panel support for this and prevent eDP panel replay if it doesn't exits.
>
> Bspec: 68920
>
> v2: use intel_alpm_aux_less_wake_supported
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_psr.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index a9d9383e4ee5..20e6717a5215 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -571,6 +571,13 @@ static void _panel_replay_init_dpcd(struct intel_dp *intel_dp)
> {
> struct drm_i915_private *i915 = dp_to_i915(intel_dp);
>
> + if (intel_dp_is_edp(intel_dp) &&
> + (!intel_alpm_aux_less_wake_supported(intel_dp))) {
Drive-by comment, excessive parens there.
> + drm_dbg_kms(&i915->drm,
> + "Panel doesn't support AUX-less ALPM, eDP Panel Replay not possible\n");
> + return;
> + }
> +
> intel_dp->psr.sink_panel_replay_support = true;
>
> if (intel_dp->pr_dpcd & DP_PANEL_REPLAY_SU_SUPPORT)
--
Jani Nikula, Intel
next prev parent reply other threads:[~2024-06-19 9:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 6:21 [PATCH v9 00/11] Panel Replay eDP support Jouni Högander
2024-06-19 6:21 ` [PATCH v9 01/11] drm/i915/psr: Check panel ALPM capability for eDP Panel Replay Jouni Högander
2024-06-19 9:06 ` Jani Nikula [this message]
2024-06-19 6:21 ` [PATCH v9 02/11] drm/i915/psr: Inform Panel Replay source support on eDP as well Jouni Högander
2024-06-19 6:21 ` [PATCH v9 03/11] drm/i915/psr: enable sink for eDP1.5 Panel Replay Jouni Högander
2024-06-19 6:21 ` [PATCH v9 04/11] drm/i915/psr: Check panel Early Transport capability for eDP PR Jouni Högander
2024-06-19 6:21 ` [PATCH v9 05/11] drm/i915/psr: 128b/132b Panel Replay is not supported on eDP Jouni Högander
2024-06-19 6:21 ` [PATCH v9 06/11] drm/i915/psr: HW will not allow PR on eDP when HDCP enabled Jouni Högander
2024-06-19 6:21 ` [PATCH v9 07/11] drm/i915/alpm: Make crtc_state as const in intel_alpm_compute_params Jouni Högander
2024-06-19 6:21 ` [PATCH v9 08/11] drm/i915/psr: Perform psr2 checks related to ALPM for Panel Replay Jouni Högander
2024-06-19 6:21 ` [PATCH v9 09/11] drm/i915/psr: Perform scanline indication check for Panel Replay as well Jouni Högander
2024-06-19 6:21 ` [PATCH v9 10/11] drm/i915/psr: Check Early Transport " Jouni Högander
2024-06-19 6:21 ` [PATCH v9 11/11] drm/i915/psr: Modify dg2_activate_panel_replay to support eDP Jouni Högander
2024-06-19 6:55 ` ✗ Fi.CI.SPARSE: warning for Panel Replay eDP support (rev10) Patchwork
2024-06-19 7:03 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-06-20 4:47 ` ✓ Fi.CI.BAT: success " Patchwork
2024-06-20 6:18 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-06-25 7:52 ` Hogander, Jouni
2024-06-24 5:56 ` [PATCH v9 00/11] Panel Replay eDP support Manna, Animesh
2024-06-25 7:57 ` 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=87le31fgiq.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=animesh.manna@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jouni.hogander@intel.com \
--cc=mika.kahola@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;
as well as URLs for NNTP newsgroup(s).