Skip to content

lib/xe_mmio: Introduce Xe MMIO lib

Piórkowski, Piotr igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- remove unused vf_id from struct xe_mmio (Lukasz)
- rename reg to offset in funcs params (Lukasz)
- change return type for xe_gt_get_tile_id (Lukasz)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/intel_mmio: Map the whole BAR0 for gen12+lib/intel_mmio.c+1 -10 replies
2/2lib/xe_mmio: Introduce Xe MMIO liblib/meson.build lib/xe/xe_mmio.c lib/xe/xe_mmio.h +2 more+269 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLukasz Laguna
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH i-g-t,v3 0/2] lib/xe_mmio: Introduce Xe MMIO lib

From: Piotr Piórkowski <[email protected]>

The series includes a simple set of helpers, dedicated to Xe, allowing access to registers and GGTT, on various tile, using MMIO BAR access.

v2:
- add missing header std ifndef/define in lib/xe_mmio.h (Kamil)
v3:
- remove unused vf_id from struct xe_mmio (Lukasz)
- rename reg to offset in funcs params (Lukasz)
- change return type for xe_gt_get_tile_id (Lukasz)

Piotr Piórkowski (2):
lib/intel_mmio: Map the whole BAR0 for gen12+
lib/xe_mmio: Introduce Xe MMIO lib

 lib/intel_mmio.c  |   2 +-
 lib/meson.build   |   1 +
 lib/xe/xe_mmio.c  | 207 ++++++++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_mmio.h  |  41 +++++++++
 lib/xe/xe_query.c |  19 +++++
 lib/xe/xe_query.h |   1 +
 6 files changed, 270 insertions(+), 1 deletion(-)
 create mode 100644 lib/xe/xe_mmio.c
 create mode 100644 lib/xe/xe_mmio.h
Signature · 1 line
2.34.1