Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Work around 52-bit limitation in CRI media
@ 2026-12-03 19:09 Stuart Summers
  2026-12-03 19:09 ` [PATCH 1/2] drm/xe: Add enable_media module parameter Stuart Summers
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Stuart Summers @ 2026-12-03 19:09 UTC (permalink / raw)
  Cc: intel-xe, thomas.hellstrom, rodrigo.vivi,
	alan.previn.teres.alexis, fei.yang, anoop.c.vijay, riana.tauro,
	matthew.d.roper, Stuart Summers

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.

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                   |  71 +++++++-
 drivers/gpu/drm/xe/xe_pm.c                    |   4 +
 drivers/gpu/drm/xe/xe_sysctrl.c               | 166 ++++++++++++++++++
 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, 320 insertions(+), 3 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-12-03 19:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 19:09 [PATCH 0/2] Work around 52-bit limitation in CRI media Stuart Summers
2026-12-03 19:09 ` [PATCH 1/2] drm/xe: Add enable_media module parameter Stuart Summers
2026-12-03 19:34   ` sashiko-bot
2026-12-03 19:09 ` [PATCH 2/2] drm/xe: Work around media 52-bit limitation on CRI Stuart Summers
2026-12-03 19:31   ` sashiko-bot
2026-12-03 19:14 ` [PATCH 0/2] Work around 52-bit limitation in CRI media Summers, Stuart
2026-12-03 19:18 ` ✓ CI.KUnit: success for " Patchwork

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