From: Animesh Manna <animesh.manna@intel.com>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>
Subject: [Intel-gfx] [PATCH v8 4/6] drm/i915/panelreplay: Enable panel replay dpcd initialization for DP
Date: Sat, 4 Nov 2023 02:30:33 +0530 [thread overview]
Message-ID: <20231103210035.3151502-5-animesh.manna@intel.com> (raw)
In-Reply-To: <20231103210035.3151502-1-animesh.manna@intel.com>
Due to similarity panel replay dpcd initialization got added in psr
function which is specific for edp panel. This patch enables panel
replay initialization for dp connector.
Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Arun R Murthy <arun.r.murthy@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 3c66257b6bb2..e53a2217627a 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -2742,6 +2742,9 @@ void intel_psr_init(struct intel_dp *intel_dp)
if (!(HAS_PSR(dev_priv) || HAS_DP20(dev_priv)))
return;
+ if (!intel_dp_is_edp(intel_dp))
+ intel_psr_init_dpcd(intel_dp);
+
/*
* HSW spec explicitly says PSR is tied to port A.
* BDW+ platforms have a instance of PSR registers per transcoder but
--
2.29.0
next prev parent reply other threads:[~2023-11-03 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 21:00 [Intel-gfx] [PATCH v8 0/6] Panel replay phase1 implementation Animesh Manna
2023-11-03 21:00 ` [Intel-gfx] [PATCH v8 1/6] drm/panelreplay: dpcd register definition for panelreplay Animesh Manna
2023-11-03 21:00 ` [Intel-gfx] [PATCH v8 2/6] drm/i915/psr: Move psr specific dpcd init into own function Animesh Manna
2023-11-03 21:00 ` [Intel-gfx] [PATCH v8 3/6] drm/i915/panelreplay: Initializaton and compute config for panel replay Animesh Manna
2023-11-03 21:00 ` Animesh Manna [this message]
2023-11-03 21:00 ` [Intel-gfx] [PATCH v8 5/6] drm/i915/panelreplay: enable/disable " Animesh Manna
2023-11-03 21:00 ` [Intel-gfx] [PATCH v8 6/6] drm/i915/panelreplay: Debugfs support for " Animesh Manna
2023-11-06 8:03 ` Hogander, Jouni
2023-11-07 5:01 ` Manna, Animesh
2023-11-07 7:32 ` Hogander, Jouni
2023-11-03 22:58 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Panel replay phase1 implementation (rev10) Patchwork
2023-11-03 22:58 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-11-03 23:17 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
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=20231103210035.3151502-5-animesh.manna@intel.com \
--to=animesh.manna@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@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).