public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCHv3 1/2] drm/i915/dp: Read ALPM caps after DPCD init
@ 2026-03-02 13:26 Arun R Murthy
  2026-03-02 13:26 ` [PATCHv3 2/2] drm/i915/dp: Rename alpm_init to alpm_init_dpcd Arun R Murthy
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Arun R Murthy @ 2026-03-02 13:26 UTC (permalink / raw)
  To: intel-gfx, intel-xe
  Cc: animesh.manna, ankit.k.nautiyal, jani.nikula, jouni.hogander,
	Arun R Murthy

For eDP read the ALPM DPCD caps after DPCD initalization and just before
the PSR init.

v2: Move intel_alpm_init to intel_edp_init_dpcd (Jouni)
v3: Add Fixes with commit-id (Jouni)

Fixes: 15438b325987 ("drm/i915/alpm: Add compute config for lobf")
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 025e906b63a9..1544758c0bbc 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4748,6 +4748,9 @@ intel_edp_init_dpcd(struct intel_dp *intel_dp, struct intel_connector *connector
 	 */
 	intel_dp_init_source_oui(intel_dp);
 
+	/* Read ALPM DPCD caps before reading the PSR CAPS */
+	intel_alpm_init(intel_dp);
+
 	/*
 	 * This has to be called after intel_dp->edp_dpcd is filled, PSR checks
 	 * for SET_POWER_CAPABLE bit in intel_dp->edp_dpcd[1]
@@ -6914,8 +6917,6 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 	 */
 	intel_hpd_enable_detection(encoder);
 
-	intel_alpm_init(intel_dp);
-
 	/* Cache DPCD and EDID for edp. */
 	has_dpcd = intel_edp_init_dpcd(intel_dp, connector);
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-03 10:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 13:26 [PATCHv3 1/2] drm/i915/dp: Read ALPM caps after DPCD init Arun R Murthy
2026-03-02 13:26 ` [PATCHv3 2/2] drm/i915/dp: Rename alpm_init to alpm_init_dpcd Arun R Murthy
2026-03-03 10:58   ` Manna, Animesh
2026-03-02 18:50 ` ✓ CI.KUnit: success for series starting with [PATCHv3,1/2] drm/i915/dp: Read ALPM caps after DPCD init Patchwork
2026-03-02 19:56 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-02 23:36 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox