Add a few sysctrl refactors in preparation for
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/xe/sysctrl: Use preallocated mailbox staging buffersdrivers/ drivers/ | +31 | 1 reply | |
| 2/3 | drm/xe: Process device OOB workarounds during early info initdrivers/ drivers/ | +14 | 2 replies | |
| 3/3 | drm/xe/sysctrl: Restore the SoC remapper on every runtime resumedrivers/ drivers/ | +11 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Rodrigo Vivi |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Add a few sysctrl refactors in preparation for
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(-)
Signature · 1 line
2.43.0