From: Stuart Summers <stuart.summers@intel.com>
Cc: intel-xe@lists.freedesktop.org, thomas.hellstrom@linux.intel.com,
rodrigo.vivi@intel.com, alan.previn.teres.alexis@intel.com,
fei.yang@intel.com, anoop.c.vijay@intel.com,
riana.tauro@intel.com, matthew.d.roper@intel.com,
Stuart Summers <stuart.summers@intel.com>
Subject: [PATCH 0/2] Work around 52-bit limitation in CRI media
Date: Thu, 3 Dec 2026 23:28:58 +0000 [thread overview]
Message-ID: <20261203232859.321380-4-stuart.summers@intel.com> (raw)
Individual commits have the detail of the workaround. Essentially
we are now disabling media by default to give a more consistent
user experience for CRI given that media can only be used in
specific configurations. To enable, there is certain criteria
that must be met, but essentially this means host addresses above
46 bits must be translated down to within 46 bits before being
sent into the media IP. If the KMD cannot guarantee this, media
is disabled.
I had submitted a version of this series already which had
some extra preliminiary patches (which have now been merged)
and some patches I was using for debug. For some reason patchworks
isn't working for me. This series just takes the most critical
patches for the workaround. The for-debug patches from that
other series I'll submit and review separately.
I tested this on a Xeon based CRI that was seeing the original
issue and confirmed this is no longer present with the workaround
and the appropriate changes in the IFWI.
v2: Addressed the review feedback from Rodrigo and Sashiko.
I decided to go with an upleveled macro for the architecture
physical limit.
Using the GMD ID instead of the media_gt structure to
determine media presence now.
Moved a few of the logs from xe_info to xe_dbg. I had
them mistakenly as info for debugging, but no need to
spam here.
I didn't remove the module parameter for now. I know
there is still some ongoing discussion there. I'd like
to conclude on that before making any changes.
Retested all the basic cases here on a 52-bit system
that was previously hitting the issue and it isn't
reproducible.
Stuart Summers (2):
drm/xe: Add enable_media module parameter
drm/xe: Work around media 52-bit limitation on CRI
drivers/gpu/drm/xe/xe_configfs.c | 3 +
drivers/gpu/drm/xe/xe_defaults.h | 1 +
drivers/gpu/drm/xe/xe_device.c | 24 +++
drivers/gpu/drm/xe/xe_device.h | 1 +
drivers/gpu/drm/xe/xe_device_types.h | 2 +
drivers/gpu/drm/xe/xe_device_wa_oob.rules | 1 +
drivers/gpu/drm/xe/xe_module.c | 7 +
drivers/gpu/drm/xe/xe_module.h | 1 +
drivers/gpu/drm/xe/xe_pci.c | 85 ++++++++-
drivers/gpu/drm/xe/xe_pm.c | 7 +-
drivers/gpu/drm/xe/xe_sysctrl.c | 164 ++++++++++++++++++
drivers/gpu/drm/xe/xe_sysctrl.h | 2 +
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 34 ++++
drivers/gpu/drm/xe/xe_sysctrl_types.h | 6 +
14 files changed, 332 insertions(+), 6 deletions(-)
--
2.43.0
next reply other threads:[~2026-12-03 23:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 23:28 Stuart Summers [this message]
2026-12-03 23:28 ` [PATCH 1/2] drm/xe: Add enable_media module parameter Stuart Summers
2026-12-03 23:32 ` Summers, Stuart
2026-12-03 23:58 ` sashiko-bot
2026-12-03 23:29 ` [PATCH 2/2] drm/xe: Work around media 52-bit limitation on CRI Stuart Summers
2026-12-04 0:03 ` sashiko-bot
-- strict thread matches above, loose matches on Subject: below --
2026-12-03 19:09 [PATCH 0/2] Work around 52-bit limitation in CRI media Stuart Summers
2026-12-03 19:14 ` Summers, Stuart
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=20261203232859.321380-4-stuart.summers@intel.com \
--to=stuart.summers@intel.com \
--cc=alan.previn.teres.alexis@intel.com \
--cc=anoop.c.vijay@intel.com \
--cc=fei.yang@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=thomas.hellstrom@linux.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