diff options
| author | Jacek Lawrynowicz <[email protected]> | 2024-06-11 14:04:23 +0200 |
|---|---|---|
| committer | Jacek Lawrynowicz <[email protected]> | 2024-06-14 09:13:32 +0200 |
| commit | a19bffb10c46744760e3c91cf6b5b58a998a4ba9 (patch) | |
| tree | ebfcdc0f54fa0366fc0d045a938a7cb9b56446ff /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | ab4484cd863b3637ec8e03318532785476d12dfc (diff) | |
accel/ivpu: Implement DCT handling
When host system is under heavy load and the NPU is already running
on the lowest frequency, PUNIT may request Duty Cycle Throttling (DCT).
This will further reduce NPU power usage.
PUNIT requests DCT mode using Survabilty IRQ and mailbox register.
The driver then issues a JSM message to the FW that enables
the DCT mode. If the NPU resets while in DCT mode, the driver request
DCT mode during FW boot.
Also add debugfs "dct" file that allows to set arbitrary DCT percentage,
which is used by driver tests.
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Reviewed-by: Wachowski, Karol <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions