Skip to content

Commit 1fbe023

Browse files
committed
drm/xe/pf: Print configuration KLVs using debug printer
While we print VF's configuration KLVs only under DEBUG_SRIOV config, we should be doing it at debug level, not info level. Signed-off-by: Michal Wajdeczko <[email protected]> Cc: Lukasz Laguna <[email protected]> Reviewed-by: Lukasz Laguna <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 89cd027 commit 1fbe023

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ static int pf_push_vf_buf_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs
104104
}
105105

106106
if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
107-
struct drm_printer p = xe_gt_info_printer(gt);
107+
struct drm_printer p = xe_gt_dbg_printer(gt);
108108
void *klvs = xe_guc_buf_cpu_ptr(buf);
109109
char name[8];
110110

111-
xe_gt_sriov_info(gt, "pushed %s config with %u KLV%s:\n",
112-
xe_sriov_function_name(vfid, name, sizeof(name)),
113-
num_klvs, str_plural(num_klvs));
111+
xe_gt_sriov_dbg(gt, "pushed %s config with %u KLV%s:\n",
112+
xe_sriov_function_name(vfid, name, sizeof(name)),
113+
num_klvs, str_plural(num_klvs));
114114
xe_guc_klv_print(klvs, num_dwords, &p);
115115
}
116116

@@ -2349,7 +2349,7 @@ int xe_gt_sriov_pf_config_restore(struct xe_gt *gt, unsigned int vfid,
23492349
return -EINVAL;
23502350

23512351
if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
2352-
struct drm_printer p = xe_gt_info_printer(gt);
2352+
struct drm_printer p = xe_gt_dbg_printer(gt);
23532353

23542354
drm_printf(&p, "restoring VF%u config:\n", vfid);
23552355
xe_guc_klv_print(buf, size / sizeof(u32), &p);

0 commit comments

Comments
 (0)