accel/ivpu: Add dvfs_mode file to debugfs
authorTomasz Rusinowicz <tomasz.rusinowicz@intel.com>
Sat, 28 Oct 2023 13:34:07 +0000 (15:34 +0200)
committerStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Mon, 30 Oct 2023 10:06:09 +0000 (11:06 +0100)
commitf13108fc7bae7085616805ed176b2114cdf4bd55
tree5e58734fc285dc69889c3d05434f8980f93e5d09
parent9692b1dcefe79ea47f7d5a94acff74303c6563c6
accel/ivpu: Add dvfs_mode file to debugfs

Add new debugfs file to set dvfs_mode FW boot parameter and restart
the FW to allow experimenting with DVFS (dynamic voltage & frequency
scaling).

Signed-off-by: Tomasz Rusinowicz <tomasz.rusinowicz@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/20231028133415.1169975-4-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_debugfs.c
drivers/accel/ivpu/ivpu_fw.c
drivers/accel/ivpu/ivpu_fw.h