diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-07-08 22:12:33 +0000 |
|---|---|---|
| committer | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-07-10 08:14:44 -0700 |
| commit | f3fbb5e5f7cf16e1de116df00c03f44ad20b0c07 (patch) | |
| tree | 5f79e2c883de34aaf83728efc7ce25ce33e37de3 /drivers/gpu/drm/xe | |
| parent | 73c5a253068e8cdf975941a14f032e351730a396 (diff) | |
| download | linux-next-f3fbb5e5f7cf16e1de116df00c03f44ad20b0c07.tar.gz linux-next-f3fbb5e5f7cf16e1de116df00c03f44ad20b0c07.zip | |
drm/xe: Use xe_tile_info() in alloc_primary_gt() and alloc_media_gt()
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.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260708221233.3251663-1-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe')
| -rw-r--r-- | drivers/gpu/drm/xe/xe_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index a56c137008a1..f6e18e61a5ac 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, @@ -875,7 +876,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; } @@ -923,7 +924,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; } |
