diff mbox series

[v5,07/19] drm/i915/psr: Call intel_psr_init_dpcd in intel_dp_detect

Message ID 20240403090013.54296-8-jouni.hogander@intel.com (mailing list archive)
State New, archived
Headers show
Series Panel replay selective update support | expand

Commit Message

Hogander, Jouni April 3, 2024, 9 a.m. UTC
Currently panel replay dpcd capability isn't properly checked after
plugging in DP panel. Fix this by calling intel_psr_init_dpcd in
intel_dp_detect.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Manna, Animesh April 5, 2024, 9:58 a.m. UTC | #1
> -----Original Message-----
> From: Hogander, Jouni <jouni.hogander@intel.com>
> Sent: Wednesday, April 3, 2024 2:30 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Manna, Animesh <animesh.manna@intel.com>; Hogander, Jouni
> <jouni.hogander@intel.com>
> Subject: [PATCH v5 07/19] drm/i915/psr: Call intel_psr_init_dpcd in
> intel_dp_detect
> 
> Currently panel replay dpcd capability isn't properly checked after plugging in
> DP panel. Fix this by calling intel_psr_init_dpcd in intel_dp_detect.
> 
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> b/drivers/gpu/drm/i915/display/intel_dp.c
> index b393ddbb7b35..b8976bb67510 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -5744,6 +5744,8 @@ intel_dp_detect(struct drm_connector *connector,
> 
>  	intel_dp_mst_configure(intel_dp);
> 
> +	intel_psr_init_dpcd(intel_dp);
> +

This is fixed and merged.

Regards,
Animesh

>  	/*
>  	 * TODO: Reset link params when switching to MST mode, until MST
>  	 * supports link training fallback params.
> --
> 2.34.1
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index b393ddbb7b35..b8976bb67510 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -5744,6 +5744,8 @@  intel_dp_detect(struct drm_connector *connector,
 
 	intel_dp_mst_configure(intel_dp);
 
+	intel_psr_init_dpcd(intel_dp);
+
 	/*
 	 * TODO: Reset link params when switching to MST mode, until MST
 	 * supports link training fallback params.