linux/drivers/accel/ivpu
Krystian Pradzynski bfc87f9061 accel/ivpu/40xx: Allow to change profiling frequency
Profiling freq is a debug firmware feature. It switches default clock
to higher resolution for fine-grained and more accurate firmware task
profiling. We already configure it during boot up of VPU4.

Add debugfs knob and helpers per HW generation that allow to change it.
For vpu37xx the implementation is empty as profiling frequency can only
be changed on VPU4 or newer.

Signed-off-by: Krystian Pradzynski <krystian.pradzynski@linux.intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231028155936.1183342-2-stanislaw.gruszka@linux.intel.com
2023-10-31 15:49:35 +01:00
..
ivpu_debugfs.c accel/ivpu/40xx: Allow to change profiling frequency 2023-10-31 15:49:35 +01:00
ivpu_debugfs.h accel/ivpu: Compile ivpu_debugfs.c conditionally 2023-09-27 13:11:51 +02:00
ivpu_drv.c accel/ivpu: Change test_mode module param to bitmask 2023-10-30 11:06:10 +01:00
ivpu_drv.h accel/ivpu: Add support for delayed D0i3 entry message 2023-10-30 11:06:13 +01:00
ivpu_fw_log.c accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() 2023-10-12 12:54:51 +02:00
ivpu_fw_log.h accel/ivpu: Add firmware tracing support 2023-07-07 09:33:20 +02:00
ivpu_fw.c accel/ivpu/40xx: Allow to change profiling frequency 2023-10-31 15:49:35 +01:00
ivpu_fw.h accel/ivpu: Add dvfs_mode file to debugfs 2023-10-30 11:06:09 +01:00
ivpu_gem.c accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() 2023-10-12 12:54:51 +02:00
ivpu_gem.h accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() 2023-10-12 12:54:51 +02:00
ivpu_hw_37xx_reg.h accel/ivpu: Pass D0i3 residency time to the VPU firmware 2023-10-30 11:06:12 +01:00
ivpu_hw_37xx.c accel/ivpu/40xx: Allow to change profiling frequency 2023-10-31 15:49:35 +01:00
ivpu_hw_40xx_reg.h accel/ivpu: Add initial support for VPU 4 2023-08-09 13:55:21 +02:00
ivpu_hw_40xx.c accel/ivpu/40xx: Allow to change profiling frequency 2023-10-31 15:49:35 +01:00
ivpu_hw_reg_io.h accel/ivpu: Fix verbose version of REG_POLL macros 2023-10-23 08:57:25 +02:00
ivpu_hw.h accel/ivpu/40xx: Allow to change profiling frequency 2023-10-31 15:49:35 +01:00
ivpu_ipc.c accel/ivpu: Introduce ivpu_ipc_send_receive_active() 2023-10-30 11:06:12 +01:00
ivpu_ipc.h accel/ivpu: Introduce ivpu_ipc_send_receive_active() 2023-10-30 11:06:12 +01:00
ivpu_job.c accel/ivpu: Change test_mode module param to bitmask 2023-10-30 11:06:10 +01:00
ivpu_job.h
ivpu_jsm_msg.c accel/ivpu: Add support for delayed D0i3 entry message 2023-10-30 11:06:13 +01:00
ivpu_jsm_msg.h accel/ivpu: Add support for delayed D0i3 entry message 2023-10-30 11:06:13 +01:00
ivpu_mmu_context.c accel/ivpu: Initialize context with SSID = 1 2023-09-04 11:01:26 +02:00
ivpu_mmu_context.h accel/ivpu: Initialize context with SSID = 1 2023-09-04 11:01:26 +02:00
ivpu_mmu.c accel/ivpu: Fix verbose version of REG_POLL macros 2023-10-23 08:57:25 +02:00
ivpu_mmu.h
ivpu_pm.c accel/ivpu: Add support for delayed D0i3 entry message 2023-10-30 11:06:13 +01:00
ivpu_pm.h accel/ivpu: Read clock rate only if device is up 2023-10-23 08:59:20 +02:00
Kconfig accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR 2023-06-06 14:19:53 +02:00
Makefile accel/ivpu: Compile ivpu_debugfs.c conditionally 2023-09-27 13:11:51 +02:00
vpu_boot_api.h accel/ivpu: Update FW API 2023-10-30 11:06:07 +01:00
vpu_jsm_api.h accel/ivpu: Update FW API 2023-10-30 11:06:07 +01:00