[PATCH v2 0/5] reg_sr/whitelist fixes and refactors

Lucas De Marchi lucas.demarchi at intel.com
Mon Dec 9 23:27:34 UTC 2024


First patch is an important fix that we could eventually trip on (and it
did in this series because it increases the amount of save-restore
registers).

Stop writing the unused NONPRIV registers and use the HWE save-restore
so it doesn't need a separate mmio application and handling for GuC.

v2:
  - Fix "Fixes" trailer in first commit
  - Replace xe_gt_dbg() with a previous patch by Michal Wajdeczko
  - Replace patch that was making all registers to be written with one
    that make sure that non-used slots are not written
  - Simplify last patch now that unused slots are not written

Lucas De Marchi (4):
  drm/xe/reg_sr: Remove register pool
  drm/xe/reg_sr: Convert whitelist to gt logging
  drm/xe/reg_sr: Stop setting all whitelist slots
  drm/xe: Apply whitelist to engine save-restore

Michal Wajdeczko (1):
  drm/xe: Introduce xe_gt_dbg_printer()

 drivers/gpu/drm/xe/xe_gt.c            |  4 +-
 drivers/gpu/drm/xe/xe_gt_printk.h     | 31 ++++++++++
 drivers/gpu/drm/xe/xe_guc_ads.c       |  7 ---
 drivers/gpu/drm/xe/xe_hw_engine.c     |  1 -
 drivers/gpu/drm/xe/xe_reg_sr.c        | 84 ++-------------------------
 drivers/gpu/drm/xe/xe_reg_sr_types.h  |  6 --
 drivers/gpu/drm/xe/xe_reg_whitelist.c | 37 ++++++++++++
 7 files changed, 75 insertions(+), 95 deletions(-)

-- 
2.47.0



More information about the Intel-xe mailing list