[Intel-gfx] [PATCH] drm/i915: Fix Memory BW formulae for ADL-P
Yokoyama, Caz
caz.yokoyama at intel.com
Mon Nov 8 20:18:48 UTC 2021
Reviewed-by: Caz Yokoyama <caz.yokoyama at intel.com>
-caz
On Fri, 2021-11-05 at 17:37 -0700, Radhakrishna Sripada wrote:
> The earlier update to BW formulae broke ADL-P. Include
> GEN13 to use TGL path for BW parameters.
>
> Fixes: c64a9a7c05be drm/i915: Update memory bandwidth formulae
> Cc: Matt Roper <matthew.d.roper at intel.com>
> Reported-by: José Roberto de Souza <jose.souza at intel.com>
> Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_bw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_bw.c
> b/drivers/gpu/drm/i915/display/intel_bw.c
> index 15c006194c85..abec394f6869 100644
> --- a/drivers/gpu/drm/i915/display/intel_bw.c
> +++ b/drivers/gpu/drm/i915/display/intel_bw.c
> @@ -147,7 +147,7 @@ static int icl_get_qgv_points(struct
> drm_i915_private *dev_priv,
> qi->num_points = dram_info->num_qgv_points;
> qi->num_psf_points = dram_info->num_psf_gv_points;
>
> - if (DISPLAY_VER(dev_priv) == 12)
> + if (DISPLAY_VER(dev_priv) >= 12)
> switch (dram_info->type) {
> case INTEL_DRAM_DDR4:
> qi->t_bl = is_y_tile ? 8 : 4;
More information about the Intel-gfx
mailing list