From: "Piotr Piórkowski" <piotr.piorkowski@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 4/4] drm/xe: Update MEMIRQ to use tile-based printk macros
Date: Mon, 6 Oct 2025 15:32:48 +0200 [thread overview]
Message-ID: <20251006133248.6vr2opcjpaeykb6u@intel.com> (raw)
In-Reply-To: <20251005133641.2651-5-michal.wajdeczko@intel.com>
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on nie [2025-paź-05 15:36:40 +0200]:
> We already have tile-based printk macros, there is no need to
> manually prepare MEMIRQ specific messages to include tile id.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_memirq.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_memirq.c b/drivers/gpu/drm/xe/xe_memirq.c
> index 49c45ec3e83c..0affede05820 100644
> --- a/drivers/gpu/drm/xe/xe_memirq.c
> +++ b/drivers/gpu/drm/xe/xe_memirq.c
> @@ -14,16 +14,15 @@
> #include "xe_device.h"
> #include "xe_device_types.h"
> #include "xe_gt.h"
> -#include "xe_gt_printk.h"
> #include "xe_guc.h"
> #include "xe_hw_engine.h"
> #include "xe_map.h"
> #include "xe_memirq.h"
> +#include "xe_tile_printk.h"
>
> #define memirq_assert(m, condition) xe_tile_assert(memirq_to_tile(m), condition)
> #define memirq_printk(m, _level, _fmt, ...) \
> - drm_##_level(&memirq_to_xe(m)->drm, "MEMIRQ%u: " _fmt, \
> - memirq_to_tile(m)->id, ##__VA_ARGS__)
> + xe_tile_##_level(memirq_to_tile(m), "MEMIRQ: " _fmt, ##__VA_ARGS__)
>
> #ifdef CONFIG_DRM_XE_DEBUG_MEMIRQ
> #define memirq_debug(m, _fmt, ...) memirq_printk(m, dbg, _fmt, ##__VA_ARGS__)
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
next prev parent reply other threads:[~2025-10-06 13:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-05 13:36 [PATCH 0/4] Update tile-based messages Michal Wajdeczko
2025-10-05 13:36 ` [PATCH 1/4] drm/xe: Update SRIOV printk macros Michal Wajdeczko
2025-10-06 13:03 ` Piotr Piórkowski
2025-10-05 13:36 ` [PATCH 2/4] drm/xe: Add tile-based " Michal Wajdeczko
2025-10-06 13:27 ` Piotr Piórkowski
2025-10-05 13:36 ` [PATCH 3/4] drm/xe/pf: Update LMTT to use tile-based messages Michal Wajdeczko
2025-10-06 13:30 ` Piotr Piórkowski
2025-10-05 13:36 ` [PATCH 4/4] drm/xe: Update MEMIRQ to use tile-based printk macros Michal Wajdeczko
2025-10-06 13:32 ` Piotr Piórkowski [this message]
2025-10-05 13:42 ` ✗ CI.checkpatch: warning for Update tile-based messages Patchwork
2025-10-05 13:43 ` ✓ CI.KUnit: success " Patchwork
2025-10-05 14:24 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-05 15:33 ` ✓ Xe.CI.Full: " Patchwork
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=20251006133248.6vr2opcjpaeykb6u@intel.com \
--to=piotr.piorkowski@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