drm/i915/bw: Print derated bandwidth numbers for DG2

While DG2 is using hardcoded numbers for the memory bandwidth
stuff, let's still print them to aid in debugging as there are
two different SKUs to consider with different bandwidth numbers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260528103458.18069-10-ville.syrjala@linux.intel.com
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
This commit is contained in:
Ville Syrjälä
2026-05-28 13:34:56 +03:00
parent db7a45983f
commit 10738a07c0

View File

@@ -711,6 +711,10 @@ static void dg2_get_bw_info(struct intel_display *display)
display->bw.max[0].num_planes = U8_MAX;
display->bw.max[0].deratedbw[0] = display->platform.dg2_g11 ? 38000 : 50000;
drm_dbg_kms(display->drm,
"QGV 0: deratedbw=%u\n",
display->bw.max[0].deratedbw[0]);
/* Bandwidth does not depend on # of planes; set all groups the same */
for (i = 1; i < ARRAY_SIZE(display->bw.max); i++)
display->bw.max[i] = display->bw.max[0];