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

Manna, Animesh animesh.manna at intel.com
Fri Apr 5 09:58:12 UTC 2024



> -----Original Message-----
> From: Hogander, Jouni <jouni.hogander at intel.com>
> Sent: Wednesday, April 3, 2024 2:30 PM
> To: intel-gfx at lists.freedesktop.org
> Cc: Manna, Animesh <animesh.manna at intel.com>; Hogander, Jouni
> <jouni.hogander at 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 at 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



More information about the Intel-gfx mailing list