From: Matthew Brost <matthew.brost@intel.com>
To: Shuicheng Lin <shuicheng.lin@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe: Use xe_tile_info() in alloc_primary_gt() and alloc_media_gt()
Date: Wed, 8 Jul 2026 19:55:22 -0700 [thread overview]
Message-ID: <ak8Nmp4RKSj7Uku1@gsse-cloud1.jf.intel.com> (raw)
In-Reply-To: <20260708221233.3251663-1-shuicheng.lin@intel.com>
On Wed, Jul 08, 2026 at 10:12:33PM +0000, Shuicheng Lin wrote:
> 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>
Reviewed-by: Matthew Brost <matthew.brost@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 prev parent reply other threads:[~2026-07-09 2:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 22:12 [PATCH] drm/xe: Use xe_tile_info() in alloc_primary_gt() and alloc_media_gt() Shuicheng Lin
2026-07-08 22:19 ` ✓ CI.KUnit: success for " Patchwork
2026-07-08 23:12 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-09 2:55 ` Matthew Brost [this message]
2026-07-09 3:16 ` ✓ Xe.CI.FULL: " 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=ak8Nmp4RKSj7Uku1@gsse-cloud1.jf.intel.com \
--to=matthew.brost@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=shuicheng.lin@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