Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Laguna, Lukasz" <lukasz.laguna@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
	<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v2 2/2] drm/xe/pf: Print configuration KLVs using debug printer
Date: Thu, 10 Jul 2025 10:57:29 +0200	[thread overview]
Message-ID: <68fe9d28-5044-4038-b8d1-950a069d0af7@intel.com> (raw)
In-Reply-To: <20250703145709.1832-1-michal.wajdeczko@intel.com>

On 7/3/2025 16:57, Michal Wajdeczko wrote:
> 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 <michal.wajdeczko@intel.com>
> Cc: Lukasz Laguna <lukasz.laguna@intel.com>

Reviewed-by: Lukasz Laguna <lukasz.laguna@intel.com>

> ---
> v2: update xe_gt_sriov_pf_config_restore (Lukasz)
> ---
>   drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index d186f780885d..d0cf1d80be07 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -104,13 +104,13 @@ static int pf_push_vf_buf_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs
>   	}
>   
>   	if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
> -		struct drm_printer p = xe_gt_info_printer(gt);
> +		struct drm_printer p = xe_gt_dbg_printer(gt);
>   		void *klvs = xe_guc_buf_cpu_ptr(buf);
>   		char name[8];
>   
> -		xe_gt_sriov_info(gt, "pushed %s config with %u KLV%s:\n",
> -				 xe_sriov_function_name(vfid, name, sizeof(name)),
> -				 num_klvs, str_plural(num_klvs));
> +		xe_gt_sriov_dbg(gt, "pushed %s config with %u KLV%s:\n",
> +				xe_sriov_function_name(vfid, name, sizeof(name)),
> +				num_klvs, str_plural(num_klvs));
>   		xe_guc_klv_print(klvs, num_dwords, &p);
>   	}
>   
> @@ -2349,7 +2349,7 @@ int xe_gt_sriov_pf_config_restore(struct xe_gt *gt, unsigned int vfid,
>   		return -EINVAL;
>   
>   	if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
> -		struct drm_printer p = xe_gt_info_printer(gt);
> +		struct drm_printer p = xe_gt_dbg_printer(gt);
>   
>   		drm_printf(&p, "restoring VF%u config:\n", vfid);
>   		xe_guc_klv_print(buf, size / sizeof(u32), &p);

  reply	other threads:[~2025-07-10  8:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-04 19:00 [PATCH 0/2] PF: Print debug stuff using debug printer Michal Wajdeczko
2025-06-04 19:00 ` [PATCH 1/2] drm/xe/pf: Print runtime registers " Michal Wajdeczko
2025-06-10  6:00   ` [1/2] " Laguna, Lukasz
2025-06-04 19:00 ` [PATCH 2/2] drm/xe/pf: Print configuration KLVs " Michal Wajdeczko
2025-06-10  6:11   ` [2/2] " Laguna, Lukasz
2025-07-03 14:57   ` [PATCH v2 2/2] " Michal Wajdeczko
2025-07-10  8:57     ` Laguna, Lukasz [this message]
2025-06-04 21:57 ` ✓ CI.Patch_applied: success for PF: Print debug stuff " Patchwork
2025-06-04 21:58 ` ✓ CI.checkpatch: " Patchwork
2025-06-04 21:59 ` ✓ CI.KUnit: " Patchwork
2025-06-04 22:09 ` ✓ CI.Build: " Patchwork
2025-06-04 22:12 ` ✓ CI.Hooks: " Patchwork
2025-06-04 22:13 ` ✓ CI.checksparse: " Patchwork
2025-06-04 23:24 ` ✓ Xe.CI.BAT: " Patchwork
2025-06-05 23:43 ` ✓ Xe.CI.Full: " Patchwork
2025-06-06  8:20 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-03 15:58 ` ✓ CI.KUnit: success for PF: Print debug stuff using debug printer (rev2) Patchwork
2025-07-03 16:51 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-05  5:53 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-10 12:06   ` Michal Wajdeczko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68fe9d28-5044-4038-b8d1-950a069d0af7@intel.com \
    --to=lukasz.laguna@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.wajdeczko@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox