Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add a few sysctrl refactors in preparation for
@ 2026-11-04 21:53 Stuart Summers
  2026-11-04 21:53 ` [PATCH 1/3] drm/xe/sysctrl: Use preallocated mailbox staging buffers Stuart Summers
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Stuart Summers @ 2026-11-04 21:53 UTC (permalink / raw)
  Cc: intel-xe, rodrigo.vivi, riana.tauro, anoop.c.vijay,
	Stuart Summers

I'm doing some debug right now that touches address translation
(ATS) configuration around the suspend/resume time. Right now,
we're re-enabling ATS through the resume path regardless of whether
we get the d3cold hint, but we only re-enable the system controller
when the d3cold.allowed is set. This means if I'm trying to touch
this through the firmware, I might not be able to do that easily
on the resume path.

In this series I'm adding a few refactors that allow this kind of
debug. The first patch moves from a dynamic allocation of some of the
sysctrl buffers to static allocation to avoid re-allocation in the
resume path. The second patch moves the workaround initialization
a little earlier in the driver for an easier hook here. And the third
patch moves the sysctrl initialization outside of that d3cold.allowed
hint in the resume path.

All of this was developed in collaboration with Claude Opus.

Stuart Summers (3):
  drm/xe/sysctrl: Use preallocated mailbox staging buffers
  drm/xe: Process device OOB workarounds during early info init
  drm/xe/sysctrl: Restore the SoC remapper on every runtime resume

 drivers/gpu/drm/xe/xe_device.c          |  3 --
 drivers/gpu/drm/xe/xe_pci.c             | 14 +++++++
 drivers/gpu/drm/xe/xe_pm.c              |  9 +++-
 drivers/gpu/drm/xe/xe_sysctrl.c         |  6 ++-
 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 56 +++++++++----------------
 drivers/gpu/drm/xe/xe_sysctrl_types.h   | 11 +++++
 6 files changed, 56 insertions(+), 43 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-11-11 19:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 21:53 [PATCH 0/3] Add a few sysctrl refactors in preparation for Stuart Summers
2026-11-04 21:53 ` [PATCH 1/3] drm/xe/sysctrl: Use preallocated mailbox staging buffers Stuart Summers
2026-11-11 19:56   ` Rodrigo Vivi
2026-11-04 21:53 ` [PATCH 2/3] drm/xe: Process device OOB workarounds during early info init Stuart Summers
2026-11-11 19:57   ` Rodrigo Vivi
2026-11-04 21:53 ` [PATCH 3/3] drm/xe/sysctrl: Restore the SoC remapper on every runtime resume Stuart Summers
2026-11-11 19:55   ` Rodrigo Vivi
2026-11-04 21:55 ` [PATCH 0/3] Add a few sysctrl refactors in preparation for Summers, Stuart
2026-11-04 22:40 ` ✓ CI.KUnit: success for " Patchwork
2026-11-04 23:13 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-05  6:30 ` ✓ CI.KUnit: success for Add a few sysctrl refactors in preparation for (rev2) Patchwork
2026-11-05  7:09 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-06  0:38 ` ✓ Xe.CI.FULL: " Patchwork

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