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%)

-- 
2.43.0

Reply via email to