[Intel-xe] [PATCH v3 00/10] Cleanup registers and introduce xe_reg_*

Lucas De Marchi lucas.demarchi at intel.com
Thu Apr 27 22:32:46 UTC 2023


Continuation of https://patchwork.freedesktop.org/series/116411/

v1: https://patchwork.freedesktop.org/series/116845/#rev1
v2: https://patchwork.freedesktop.org/series/116845/#rev3

This v3 has some minor changes after verifying the REG_FIELD/REG_BIT
conversions were correct. Also recorded the missing r-b and removed the
patches that were already applied.

Lucas De Marchi (10):
  drm/xe/guc: Convert GuC registers to REG_FIELD/REG_BIT
  drm/xe: Drop gen afixes from registers
  drm/xe: Use REG_FIELD/REG_BIT for all regs/*.h
  drm/xe: Clarify register types on PAT programming
  drm/xe/rtp: Improve magic macros for RTP tables
  drm/xe: Introduce xe_reg/xe_reg_mcr
  drm/xe: Use XE_REG/XE_REG_MCR
  drm/xe: Annotate masked registers used by RTP
  drm/xe: Plumb xe_reg into WAs, rtp, etc
  drm/xe: Move helper macros to separate header

 drivers/gpu/drm/xe/Makefile               |   7 +-
 drivers/gpu/drm/xe/regs/xe_engine_regs.h  | 102 +++---
 drivers/gpu/drm/xe/regs/xe_gpu_commands.h |   2 +-
 drivers/gpu/drm/xe/regs/xe_gt_regs.h      | 358 +++++++++++-----------
 drivers/gpu/drm/xe/regs/xe_guc_regs.h     | 215 ++++++-------
 drivers/gpu/drm/xe/regs/xe_reg_defs.h     |  84 +++++
 drivers/gpu/drm/xe/regs/xe_regs.h         |  65 ++--
 drivers/gpu/drm/xe/tests/xe_rtp_test.c    |  51 ++-
 drivers/gpu/drm/xe/xe_execlist.c          |   8 +-
 drivers/gpu/drm/xe/xe_force_wake.c        |  18 +-
 drivers/gpu/drm/xe/xe_ggtt.c              |  16 +-
 drivers/gpu/drm/xe/xe_gt.c                |   4 +-
 drivers/gpu/drm/xe/xe_gt_clock.c          |  29 +-
 drivers/gpu/drm/xe/xe_gt_mcr.c            |  74 +++--
 drivers/gpu/drm/xe/xe_gt_mcr.h            |  11 +-
 drivers/gpu/drm/xe/xe_guc.c               |  22 +-
 drivers/gpu/drm/xe/xe_guc_ads.c           |  14 +-
 drivers/gpu/drm/xe/xe_guc_pc.c            |  26 +-
 drivers/gpu/drm/xe/xe_huc.c               |   4 +-
 drivers/gpu/drm/xe/xe_hw_engine.c         |  42 +--
 drivers/gpu/drm/xe/xe_irq.c               |   8 +-
 drivers/gpu/drm/xe/xe_mmio.c              |   7 +-
 drivers/gpu/drm/xe/xe_mocs.c              |  11 +-
 drivers/gpu/drm/xe/xe_pat.c               |  35 ++-
 drivers/gpu/drm/xe/xe_pcode_api.h         |   6 +-
 drivers/gpu/drm/xe/xe_reg_sr.c            |  51 +--
 drivers/gpu/drm/xe/xe_reg_sr.h            |   3 +-
 drivers/gpu/drm/xe/xe_reg_sr_types.h      |  10 +-
 drivers/gpu/drm/xe/xe_reg_whitelist.c     |  12 +-
 drivers/gpu/drm/xe/xe_ring_ops.c          |   8 +-
 drivers/gpu/drm/xe/xe_rtp.c               |   7 +-
 drivers/gpu/drm/xe/xe_rtp.h               | 106 +++----
 drivers/gpu/drm/xe/xe_rtp_helpers.h       |  81 +++++
 drivers/gpu/drm/xe/xe_rtp_types.h         |  22 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c    |   2 +-
 drivers/gpu/drm/xe/xe_tuning.c            |  11 +-
 drivers/gpu/drm/xe/xe_wa.c                | 180 ++++-------
 37 files changed, 887 insertions(+), 825 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_rtp_helpers.h

-- 
2.40.1



More information about the Intel-xe mailing list