From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: "Jouni Högander" <jouni.hogander@intel.com>
Subject: Re: [PATCH] drm/i915/psr: Prevent DP Panel Replay as well when CRC is enable
Date: Tue, 01 Apr 2025 12:25:51 +0300 [thread overview]
Message-ID: <87wmc42py8.fsf@intel.com> (raw)
In-Reply-To: <20250331090747.2964028-1-jouni.hogander@intel.com>
On Mon, 31 Mar 2025, Jouni Högander <jouni.hogander@intel.com> wrote:
> We are seeing timeouts in opening CRC fd when testing on setup where DP
> Panel Replay can be enabled. Fix these by checking if CRC is enabled for DP
> Panel Replay as well.
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@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 c4be3f46511f7..c8cfa27fb043d 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1595,6 +1595,12 @@ _panel_replay_compute_config(struct intel_dp *intel_dp,
> return false;
> }
>
> + if (crtc_state->crc_enabled) {
> + drm_dbg_kms(display->drm,
> + "Panel Replay not enabled because it would inhibit pipe CRC calculation\n");
> + return false;
> + }
> +
> if (!intel_dp_is_edp(intel_dp))
> return true;
>
> @@ -1625,12 +1631,6 @@ _panel_replay_compute_config(struct intel_dp *intel_dp,
> if (!alpm_config_valid(intel_dp, crtc_state, true))
> return false;
>
> - if (crtc_state->crc_enabled) {
> - drm_dbg_kms(display->drm,
> - "Panel Replay not enabled because it would inhibit pipe CRC calculation\n");
> - return false;
> - }
> -
> return true;
> }
--
Jani Nikula, Intel
next prev parent reply other threads:[~2025-04-01 9:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 9:07 [PATCH] drm/i915/psr: Prevent DP Panel Replay as well when CRC is enable Jouni Högander
2025-03-31 9:13 ` ✓ CI.Patch_applied: success for " Patchwork
2025-03-31 9:13 ` ✓ CI.checkpatch: " Patchwork
2025-03-31 9:15 ` ✓ CI.KUnit: " Patchwork
2025-03-31 9:31 ` ✓ CI.Build: " Patchwork
2025-03-31 9:33 ` ✓ CI.Hooks: " Patchwork
2025-03-31 9:35 ` ✓ CI.checksparse: " Patchwork
2025-03-31 10:07 ` ✓ i915.CI.BAT: " Patchwork
2025-03-31 10:20 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-31 11:39 ` ✗ Xe.CI.Full: failure " Patchwork
2025-04-02 5:33 ` Hogander, Jouni
2025-03-31 11:53 ` ✗ i915.CI.Full: " Patchwork
2025-04-02 5:21 ` Hogander, Jouni
2025-04-01 9:25 ` Jani Nikula [this message]
2025-04-02 5:41 ` [PATCH] " 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=87wmc42py8.fsf@intel.com \
--to=jani.nikula@linux.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.