[PATCH 4/6] drm/i915/xe3lpd: Update bandwidth parameters for display version 30.02
Matt Roper
matthew.d.roper at intel.com
Tue Jun 3 19:08:10 UTC 2025
On Tue, Jun 03, 2025 at 11:54:28PM +0530, Dnyaneshwar Bhadane wrote:
> From: Matt Atwood <matthew.s.atwood at intel.com>
>
> Bandwidth parameters for WCL have been updated with respect to
> previous display releases. Encode them into xe3lpd_3002_sa_info and use
> that new struct.
>
> Bspec: 68859
> Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>
> Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_bw.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_bw.c b/drivers/gpu/drm/i915/display/intel_bw.c
> index a5dd2932b852..39b5f2759617 100644
> --- a/drivers/gpu/drm/i915/display/intel_bw.c
> +++ b/drivers/gpu/drm/i915/display/intel_bw.c
> @@ -418,6 +418,13 @@ static const struct intel_sa_info xe3lpd_sa_info = {
> .derating = 10,
> };
>
> +static const struct intel_sa_info xe3lpd_3002_sa_info = {
> + .deburst = 32,
> + .deprogbwlimit = 22, /* GB/s */
> + .displayrtids = 256,
> + .derating = 10,
> +};
> +
> static int icl_get_bw_info(struct intel_display *display, const struct intel_sa_info *sa)
> {
> struct drm_i915_private *i915 = to_i915(display->drm);
> @@ -768,7 +775,9 @@ void intel_bw_init_hw(struct intel_display *display)
> if (!HAS_DISPLAY(display))
> return;
>
> - if (DISPLAY_VER(display) >= 30)
> + if (DISPLAY_VERx100(display) >= 3002)
> + tgl_get_bw_info(display, &xe3lpd_3002_sa_info);
> + else if (DISPLAY_VER(display) >= 30)
> tgl_get_bw_info(display, &xe3lpd_sa_info);
> else if (DISPLAY_VERx100(display) >= 1401 && display->platform.dgfx &&
> dram_info->type == INTEL_DRAM_GDDR_ECC)
> --
> 2.34.1
>
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-xe
mailing list