Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
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 19:09:25 +0000	[thread overview]
Message-ID: <20261203190926.249488-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.

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


             reply	other threads:[~2026-12-03 19:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 19:09 Stuart Summers [this message]
2026-12-03 19:09 ` [PATCH 1/2] drm/xe: Add enable_media module parameter Stuart Summers
2026-12-03 19:09 ` [PATCH 2/2] drm/xe: Work around media 52-bit limitation on CRI Stuart Summers
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

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=20261203190926.249488-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