[Intel-gfx] [PATCH] drm/i915: Fix Memory BW formulae for ADL-P

Radhakrishna Sripada radhakrishna.sripada at intel.com
Sat Nov 6 00:37:14 UTC 2021


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;
-- 
2.20.1



More information about the Intel-gfx mailing list