From: Shuicheng Lin <shuicheng.lin@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Shuicheng Lin <shuicheng.lin@intel.com>
Subject: [PATCH] drm/xe: Use xe_tile_info() in alloc_primary_gt() and alloc_media_gt()
Date: Wed, 8 Jul 2026 22:12:33 +0000 [thread overview]
Message-ID: <20260708221233.3251663-1-shuicheng.lin@intel.com> (raw)
alloc_primary_gt() and alloc_media_gt() both operate in the context of a
specific tile, and the configfs-disabled messages describe a per-tile
primary/media GT. Switch from xe_info(xe, ...) to xe_tile_info(tile, ...)
so the log lines are prefixed with "Tile%u:", which disambiguates the
message on multi-tile devices.
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
drivers/gpu/drm/xe/xe_pci.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index d6ec3b242c02..1d7d8f3ce71f 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -37,6 +37,7 @@
#include "xe_step.h"
#include "xe_survivability_mode.h"
#include "xe_tile.h"
+#include "xe_tile_printk.h"
enum toggle_d3cold {
D3COLD_DISABLE,
@@ -865,7 +866,7 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile,
struct xe_gt *gt;
if (!xe_configfs_primary_gt_allowed(to_pci_dev(xe->drm.dev))) {
- xe_info(xe, "Primary GT disabled via configfs\n");
+ xe_tile_info(tile, "Primary GT disabled via configfs\n");
return NULL;
}
@@ -911,7 +912,7 @@ static struct xe_gt *alloc_media_gt(struct xe_tile *tile,
struct xe_gt *gt;
if (!xe_configfs_media_gt_allowed(to_pci_dev(xe->drm.dev))) {
- xe_info(xe, "Media GT disabled via configfs\n");
+ xe_tile_info(tile, "Media GT disabled via configfs\n");
return NULL;
}
--
2.43.0
next reply other threads:[~2026-07-08 22:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 22:12 Shuicheng Lin [this message]
2026-07-08 22:19 ` ✓ CI.KUnit: success for drm/xe: Use xe_tile_info() in alloc_primary_gt() and alloc_media_gt() Patchwork
2026-07-08 23:12 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-09 2:55 ` [PATCH] " Matthew Brost
2026-07-09 3:16 ` ✓ Xe.CI.FULL: success for " Patchwork
2026-07-10 15:32 ` Lin, Shuicheng
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=20260708221233.3251663-1-shuicheng.lin@intel.com \
--to=shuicheng.lin@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.