drm/i915/guc/slpc: Print more SLPC debug status information

Let's peek on the Balancer and DCC status, now that we
are using the default strategies.

v2: fix identation
v3: fix typo (Vinay)

Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250110144640.1032250-2-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Rodrigo Vivi
2025-01-10 09:46:40 -05:00
parent 4f7fad42aa
commit e0b0c6d207

View File

@@ -799,6 +799,23 @@ int intel_guc_slpc_print_info(struct intel_guc_slpc *slpc, struct drm_printer *p
drm_printf(p, "\tSLPC state: %s\n", slpc_get_state_string(slpc));
drm_printf(p, "\tGTPERF task active: %s\n",
str_yes_no(slpc_tasks->status & SLPC_GTPERF_TASK_ENABLED));
drm_printf(p, "\tDCC enabled: %s\n",
str_yes_no(slpc_tasks->status &
SLPC_DCC_TASK_ENABLED));
drm_printf(p, "\tDCC in: %s\n",
str_yes_no(slpc_tasks->status & SLPC_IN_DCC));
drm_printf(p, "\tBalancer enabled: %s\n",
str_yes_no(slpc_tasks->status &
SLPC_BALANCER_ENABLED));
drm_printf(p, "\tIBC enabled: %s\n",
str_yes_no(slpc_tasks->status &
SLPC_IBC_TASK_ENABLED));
drm_printf(p, "\tBalancer IA LMT enabled: %s\n",
str_yes_no(slpc_tasks->status &
SLPC_BALANCER_IA_LMT_ENABLED));
drm_printf(p, "\tBalancer IA LMT active: %s\n",
str_yes_no(slpc_tasks->status &
SLPC_BALANCER_IA_LMT_ACTIVE));
drm_printf(p, "\tMax freq: %u MHz\n",
slpc_decode_max_freq(slpc));
drm_printf(p, "\tMin freq: %u MHz\n",