Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Roper <matthew.d.roper@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: matthew.d.roper@intel.com
Subject: [PATCH 0/2] Allow configfs to disable specific GT type(s)
Date: Thu, 18 Sep 2025 14:13:17 -0700	[thread overview]
Message-ID: <20250918211319.603324-4-matthew.d.roper@intel.com> (raw)

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


             reply	other threads:[~2025-09-18 21:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-18 21:13 Matt Roper [this message]
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

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=20250918211319.603324-4-matthew.d.roper@intel.com \
    --to=matthew.d.roper@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox