mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 10:31:33 -04:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user