Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow configfs to disable specific GT type(s)
@ 2025-09-18 21:13 Matt Roper
  2025-09-18 21:13 ` [PATCH 1/2] drm/xe/huc: Adjust HuC check on primary GT Matt Roper
  2025-09-18 21:13 ` [PATCH 2/2] drm/xe/configfs: Add attribute to disable GT types Matt Roper
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Roper @ 2025-09-18 21:13 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.d.roper

During various debug or hardware bringup activities, it is often useful
to completely disable one of the GTs to reduce the scope of the debug.
Add a configfs attribute to make this easy to do in a standard manner,
similar to the existing attribute we have to limit engines.

Note that in practice it only makes sense to disable the media GT at the
moment.  In the future, with a bit of additional driver refactoring, it
should theoretically be possible to also disable the primary GT on igpu
platforms, resulting in a media-only or a no-GT (display-only) config.
But for now, the driver will refuse to probe the device if primary GT
disabling is attempted.  Also note that the requirement to keep the
primary GT enabled will likely always be present for dgpu platforms
since the driver relies on the BCS engines (part of the primary GT) for
various vram clear+copy operations.


Matt Roper (2):
  drm/xe/huc: Adjust HuC check on primary GT
  drm/xe/configfs: Add attribute to disable GT types

 drivers/gpu/drm/xe/xe_configfs.c | 119 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_configfs.h |   2 +
 drivers/gpu/drm/xe/xe_huc.c      |  10 ++-
 drivers/gpu/drm/xe/xe_pci.c      |  18 +++++
 4 files changed, 146 insertions(+), 3 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-24  2:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 21:13 [PATCH 0/2] Allow configfs to disable specific GT type(s) Matt Roper
2025-09-18 21:13 ` [PATCH 1/2] drm/xe/huc: Adjust HuC check on primary GT Matt Roper
2025-09-19  9:32   ` Upadhyay, Tejas
2025-09-22 14:39   ` Daniele Ceraolo Spurio
2025-09-18 21:13 ` [PATCH 2/2] drm/xe/configfs: Add attribute to disable GT types Matt Roper
2025-09-22 18:24   ` Gustavo Sousa
2025-09-24  2:36   ` Matthew Brost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox