[PATCH v2 0/6] Update MMIO read/write functions

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Mar 14 17:31:24 UTC 2024


Prepare MMIO read/write functions for future SR-IOV specific enhancements.

v2: explain when interrupts regs are really VFs accessible (Matt)

Cc: Matt Roper <matthew.d.roper at intel.com>

Michal Wajdeczko (6):
  drm/xe: Assert size of the struct xe_reg
  drm/xe: Define XE_REG_OPTION_VF
  drm/xe: Mark VF accessible GuC registers
  drm/xe: Mark VF accessible global registers
  drm/xe: Mark VF accessible interrupt registers
  drm/xe: Make xe_mmio_read|write() functions non-inline

 drivers/gpu/drm/xe/regs/xe_gt_regs.h  | 40 +++++++------
 drivers/gpu/drm/xe/regs/xe_guc_regs.h |  8 +--
 drivers/gpu/drm/xe/regs/xe_reg_defs.h | 14 +++++
 drivers/gpu/drm/xe/regs/xe_regs.h     |  2 +-
 drivers/gpu/drm/xe/xe_mmio.c          | 72 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_mmio.h          | 81 +++------------------------
 6 files changed, 121 insertions(+), 96 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list