> Subject: [PATCH] drm/i915/dp: Restrict max source rate for WCL to HBR3
>
> WCL supports a maximum of HBR3 8.1 Gbps for both eDP/DP.
> Limit the max source rate to HBR3 for WCL.
>
> Bspec:74286
> Signed-off-by: Ankit Nautiyal <[email protected]>
> ---
> drivers/gpu/drm/i915/display/intel_dp.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> b/drivers/gpu/drm/i915/display/intel_dp.c
> index 0ec82fcbcf48..0d56504e1715 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -593,7 +593,10 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)
> source_rates = mtl_rates;
> size = ARRAY_SIZE(mtl_rates);
> }
> - max_rate = mtl_max_source_rate(intel_dp);
> + if (display->platform.pantherlake_wildcatlake)
This can be put inside mtl_max_source_rate
Regards,
Suraj Kandpal
> + max_rate = 810000;
> + else
> + max_rate = mtl_max_source_rate(intel_dp);
> } else if (DISPLAY_VER(display) >= 11) {
> source_rates = icl_rates;
> size = ARRAY_SIZE(icl_rates);
> --
> 2.45.2