There are couple of major new features in this patchset: * Hardware scheduler support (disabled by default) * Profiling support * Expose NPU busy time in sysfs Other then that, there are two small random fixes. v2: Included Jeffrey's v1 comments v1: https://lore.kernel.org/dri-devel/20240508132106.2387464-1-jacek.lawrynowicz@xxxxxxxxxxxxxxx Jacek Lawrynowicz (2): accel/ivpu: Update VPU FW API headers accel/ivpu: Increase reset counter when warm boot fails Tomasz Rusinowicz (3): accel/ivpu: Add NPU profiling support accel/ivpu: Configure fw logging using debugfs accel/ivpu: Share NPU busy time in sysfs Wachowski, Karol (7): accel/ivpu: Add sched_mode module param accel/ivpu: Create priority based command queues accel/ivpu: Implement support for preemption buffers accel/ivpu: Add HWS JSM messages accel/ivpu: Implement support for hardware scheduler accel/ivpu: Add resume engine support accel/ivpu: Add force snoop module parameter drivers/accel/ivpu/Makefile | 6 +- drivers/accel/ivpu/ivpu_debugfs.c | 50 +++++ drivers/accel/ivpu/ivpu_drv.c | 44 ++++- drivers/accel/ivpu/ivpu_drv.h | 23 ++- drivers/accel/ivpu/ivpu_fw.c | 10 + drivers/accel/ivpu/ivpu_fw.h | 2 + drivers/accel/ivpu/ivpu_gem.h | 11 +- drivers/accel/ivpu/ivpu_hw.h | 3 +- drivers/accel/ivpu/ivpu_hw_37xx.c | 7 +- drivers/accel/ivpu/ivpu_hw_40xx.c | 9 +- drivers/accel/ivpu/ivpu_job.c | 295 ++++++++++++++++++++++------ drivers/accel/ivpu/ivpu_job.h | 2 + drivers/accel/ivpu/ivpu_jsm_msg.c | 259 ++++++++++++++++++++++++- drivers/accel/ivpu/ivpu_jsm_msg.h | 20 +- drivers/accel/ivpu/ivpu_mmu.c | 12 +- drivers/accel/ivpu/ivpu_ms.c | 309 ++++++++++++++++++++++++++++++ drivers/accel/ivpu/ivpu_ms.h | 36 ++++ drivers/accel/ivpu/ivpu_pm.c | 5 + drivers/accel/ivpu/ivpu_sysfs.c | 58 ++++++ drivers/accel/ivpu/ivpu_sysfs.h | 13 ++ drivers/accel/ivpu/vpu_jsm_api.h | 14 +- include/uapi/drm/ivpu_accel.h | 69 ++++++- 22 files changed, 1173 insertions(+), 84 deletions(-) create mode 100644 drivers/accel/ivpu/ivpu_ms.c create mode 100644 drivers/accel/ivpu/ivpu_ms.h create mode 100644 drivers/accel/ivpu/ivpu_sysfs.c create mode 100644 drivers/accel/ivpu/ivpu_sysfs.h -- 2.43.2