From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
Matt Roper <matthew.d.roper@intel.com>,
Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>,
John Harrison <John.C.Harrison@intel.com>,
Brian Welty <brian.welty@intel.com>,
"Vinay Belgaumkar" <vinay.belgaumkar@intel.com>,
Badal Nilawar <badal.nilawar@intel.com>,
Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Subject: Re: [PATCH 0/4] drm/xe: Add psmi support
Date: Thu, 17 Jul 2025 15:47:12 -0400 [thread overview]
Message-ID: <aHlTQBDnu5ZdfSgi@intel.com> (raw)
In-Reply-To: <20250716-psmi-v1-0-674c13d7028e@intel.com>
On Wed, Jul 16, 2025 at 01:55:43PM -0700, Lucas De Marchi wrote:
> Add PSMI support to aid debugging. More information about PSMI is in the
> second patch. This brings the initial implementation to drm-tip so it's
> also easy to debug and enable things early directly upstream.
>
> Opens:
> - Expose the toggle via configfs rather than module param? I'm leaning
> towards this for v2 as we may have multiple cards and want to debug a
> single one. It also matches nicely with the latest configurations we
> added there.
yeap, configfs seems better here.
> - Expose the allocation request via configs rather than debugfs: this
> would part ways with configfs being for early-init things. I'm
> leaning against this and just leave that in debugfs
I agree , debugfs seems better here.
> - Add match for RTP to enable WA only if certain feature is enabled
> (like psmi): I'm leaning towards this so we don't enable WAs that are
> not necessary in normal non-debugging scenarios
good idea!
>
> I will start preparing a v2 soon with the items above. Opinions on those
> are appreciated.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
> Badal Nilawar (1):
> drm/xe/psmi: Enable GuC Wa_14020001231
>
> Lucas De Marchi (2):
> drm/xe/psmi: Add setting of PSMI feature flag
> drm/xe/psmi: Add debugfs interface for allocation of PSMI capture buffers
>
> Vinay Belgaumkar (1):
> drm/xe/psmi: Add Wa_16023683509
>
> drivers/gpu/drm/xe/Makefile | 1 +
> drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 1 +
> drivers/gpu/drm/xe/xe_debugfs.c | 3 +
> drivers/gpu/drm/xe/xe_device.c | 3 +
> drivers/gpu/drm/xe/xe_device_types.h | 7 +
> drivers/gpu/drm/xe/xe_guc.c | 7 +
> drivers/gpu/drm/xe/xe_guc_ads.c | 5 +
> drivers/gpu/drm/xe/xe_guc_fwif.h | 2 +
> drivers/gpu/drm/xe/xe_module.c | 3 +
> drivers/gpu/drm/xe/xe_module.h | 1 +
> drivers/gpu/drm/xe/xe_psmi.c | 297 ++++++++++++++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_psmi.h | 15 ++
> drivers/gpu/drm/xe/xe_wa_oob.rules | 6 +
> 13 files changed, 351 insertions(+)
>
> base-commit: cd8f387cae3dc97c924db689b4849c83249c3b9d
> change-id: 20250618-psmi-9f270bf67895
>
> Lucas De Marchi
>
prev parent reply other threads:[~2025-07-17 19:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 20:55 [PATCH 0/4] drm/xe: Add psmi support Lucas De Marchi
2025-07-16 20:55 ` [PATCH 1/4] drm/xe/psmi: Add setting of PSMI feature flag Lucas De Marchi
2025-08-21 17:24 ` Matt Atwood
2025-07-16 20:55 ` [PATCH 2/4] drm/xe/psmi: Add debugfs interface for allocation of PSMI capture buffers Lucas De Marchi
2025-07-16 20:55 ` [PATCH 3/4] drm/xe/psmi: Enable GuC Wa_14020001231 Lucas De Marchi
2025-07-16 20:55 ` [PATCH 4/4] drm/xe/psmi: Add Wa_16023683509 Lucas De Marchi
2025-07-16 21:05 ` ✗ CI.checkpatch: warning for drm/xe: Add psmi support Patchwork
2025-07-16 21:07 ` ✓ CI.KUnit: success " Patchwork
2025-07-16 21:58 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-17 19:19 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-17 19:47 ` Rodrigo Vivi [this message]
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=aHlTQBDnu5ZdfSgi@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=John.C.Harrison@intel.com \
--cc=badal.nilawar@intel.com \
--cc=brian.welty@intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=sai.teja.pottumuttu@intel.com \
--cc=vinay.belgaumkar@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.