]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Move GSI offset adjustment fields into 'struct xe_mmio'
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2024 23:47:24 +0000 (16:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2024 22:17:31 +0000 (15:17 -0700)
commit9d383916a552784ec35e6d25469fc2da9bcd9948
treeda57eb337ed58fddc0ed551486ca7af21aca5d26
parentd4aff99aefa2a3c8999a98f0d52a977b284b9ec9
drm/xe: Move GSI offset adjustment fields into 'struct xe_mmio'

By moving the GSI adjustment fields into 'struct xe_mmio' we can replace
the GT's MMIO substructure with another instance of xe_mmio.  At the
moment this means MMIO operations wind up pulling information from two
different places (the tile's xe_mmio for the iomap and the GT's xe_mmio
for the adjustment), but we'll address that in future patches.

The type headers change a bit with this change, meaning that various
files should be including xe_device_types.h instead of (or in addition
to) xe_gt_types.h.

v2:
 - Fix pre-existing kerneldoc typo while moving the fields (Lucas)
v3:
 - Add missing '@' in kerneldoc.  (Rodrigo)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240910234719.3335472-49-matthew.d.roper@intel.com
drivers/gpu/drm/xe/xe_assert.h
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt_freq.c
drivers/gpu/drm/xe/xe_gt_printk.h
drivers/gpu/drm/xe/xe_gt_types.h