Skip to content

accel/ivpu: Merge register headers and extend tile fuse config

Karol Wachowski dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5accel/ivpu: Add test mode to enable the FREQ_CHANGE interruptdrivers/accel/ivpu/ivpu_drv.h drivers/accel/ivpu/ivpu_hw.h drivers/accel/ivpu/ivpu_hw_btrs.c+18 -60 replies
2/5accel/ivpu: Merge NPU IP register headersdrivers/accel/ivpu/ivpu_hw_40xx_reg.h drivers/accel/ivpu/ivpu_hw_btrs.h drivers/accel/ivpu/ivpu_hw_ip.c +1 more+151 -2880 replies
3/5accel/ivpu: Merge identical 37xx and 40xx IP functionsdrivers/accel/ivpu/ivpu_hw.c drivers/accel/ivpu/ivpu_hw.h drivers/accel/ivpu/ivpu_hw_ip.c +1 more+49 -3180 replies
4/5accel/ivpu: Merge buttress register headersdrivers/accel/ivpu/ivpu_hw_btrs.c drivers/accel/ivpu/ivpu_hw_btrs_mtl_reg.h drivers/accel/ivpu/ivpu_hw_btrs_reg.h+78 -900 replies
5/5accel/ivpu: Extend tile fuse config to 7 bitsdrivers/accel/ivpu/ivpu_hw_btrs.c drivers/accel/ivpu/ivpu_hw_btrs_reg.h+1 -80 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDawid Osuchowski
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] accel/ivpu: Merge register headers and extend tile fuse config

This series removes duplication between the per-generation register definitions and code in the ivpu driver, and adds a debug test mode.

Patch 1 adds a test mode that enables the buttress FREQ_CHANGE interrupt and stores the buttress interrupt mask in struct ivpu_hw_info.

Patches 2-4 merge the 37xx/40xx IP register headers, the identical 37xx and 40xx IP functions, and the MTL/LNL buttress register headers. There is no functional change.

Patch 5 extends the tile fuse config field to 7 bits.

Karol Wachowski (5):
accel/ivpu: Add test mode to enable the FREQ_CHANGE interrupt accel/ivpu: Merge NPU IP register headers accel/ivpu: Merge identical 37xx and 40xx IP functions accel/ivpu: Merge buttress register headers accel/ivpu: Extend tile fuse config to 7 bits

 drivers/accel/ivpu/ivpu_drv.h                 |   1 +
 drivers/accel/ivpu/ivpu_hw.c                  |   5 -
 drivers/accel/ivpu/ivpu_hw.h                  |   7 +-
 drivers/accel/ivpu/ivpu_hw_40xx_reg.h         | 195 ---------
 drivers/accel/ivpu/ivpu_hw_btrs.c             |  32 +-
 drivers/accel/ivpu/ivpu_hw_btrs.h             |   2 -
 drivers/accel/ivpu/ivpu_hw_btrs_mtl_reg.h     |  83 ----
 ...u_hw_btrs_lnl_reg.h => ivpu_hw_btrs_reg.h} |  84 +++-
 drivers/accel/ivpu/ivpu_hw_ip.c               | 396 +++---------------
 drivers/accel/ivpu/ivpu_hw_ip.h               |   3 +-
 .../{ivpu_hw_37xx_reg.h => ivpu_hw_ip_reg.h}  |  69 ++-
 11 files changed, 232 insertions(+), 645 deletions(-)
 delete mode 100644 drivers/accel/ivpu/ivpu_hw_40xx_reg.h
 delete mode 100644 drivers/accel/ivpu/ivpu_hw_btrs_mtl_reg.h
 rename drivers/accel/ivpu/{ivpu_hw_btrs_lnl_reg.h => ivpu_hw_btrs_reg.h} (58%)
 rename drivers/accel/ivpu/{ivpu_hw_37xx_reg.h => ivpu_hw_ip_reg.h} (73%)
Signature · 1 line
2.43.0