]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add tile-based SRIOV printk macros
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 5 Oct 2025 13:36:38 +0000 (15:36 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 6 Oct 2025 17:39:23 +0000 (19:39 +0200)
commitc66e4b6cae1f9cda645ed82e77c35d442cef400d
tree88c515fc9abf1cbbe171c0bd58facc11b249dafe
parentc95f18020799a824b5d1b8b5d95390293f0c2912
drm/xe: Add tile-based SRIOV printk macros

We already have device and GT level SR-IOV specific macros, but
unlike native case, we don't have yet tile-based ones.

Add macros to match native use case and also update GT-based
macros to rely on those new tile-based SR-IOV macros. This will
slightly rearrange the output of the GT logs and instead:

  [...] Tile0: GT0: PF: pushed VF1 config with 2 KLVs...

we might see:

  [...] PF: Tile0: GT0: pushed VF1 config with 2 KLVs...

but that's even better.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://lore.kernel.org/r/20251005133641.2651-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_printk.h
drivers/gpu/drm/xe/xe_tile_sriov_printk.h [new file with mode: 0644]