diff options
author | Akash Goel <akash.goel@arm.com> | 2022-01-07 16:10:56 +0000 |
---|---|---|
committer | Kevin DuBois <kevindubois@google.com> | 2022-02-14 21:23:59 +0000 |
commit | 378860272aef35e484ac7ceda499cbe04b0ad732 (patch) | |
tree | e60bd78cc81307f74cface746ad2fb24830ef8ff /mali_kbase/Kconfig | |
parent | 00ebca600bb8f0bdc9c20847f2ba4c688812044a (diff) | |
download | gpu-378860272aef35e484ac7ceda499cbe04b0ad732.tar.gz |
GPUCORE-32478: Add support for Host based control of SC power rails
This commit adds support in Kbase & FW for Host based control of the
shader core power rails.
The power rails will be turned off when the GPU idle notification
is received and will be turned on before FW resumes the execution
on cores.
After turning off the power rails, Kbase will wait for the same idle
hysteresis time before triggering the power down of GPU, where CSGs
will be suspended and MCU will be halted.
A build time config option is added to enable the workaround in
Kbase code.
The corresponding changes required in firmware to support this
feature will be enabled at runtime, through the config entry
present in the FW image header, before the intial boot of firmware.
2 power management callbacks need to be implemented in the platform
specific file to turn on/off the shader core power rails.
FW binary based on 2f830d9d8ad7ad9dd661a047fd4a6e5695d46da2 (internal)
Bug: 201222260
Bug: 207028973
Provenance: collaborate.code.arm.com/#/c/3759
Test: feature under disabled flag.
Test: boots to home with additional fixes.
Change-Id: I2274575cd9648daeaee4a49146cf534650349bf1
Diffstat (limited to 'mali_kbase/Kconfig')
-rw-r--r-- | mali_kbase/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mali_kbase/Kconfig b/mali_kbase/Kconfig index a563d35..ef16a7d 100644 --- a/mali_kbase/Kconfig +++ b/mali_kbase/Kconfig @@ -363,6 +363,15 @@ config MALI_HW_ERRATA_1485982_USE_CLOCK_ALTERNATIVE tree using the property, opp-mali-errata-1485982. Otherwise the slowest clock will be selected. +config MALI_HOST_CONTROLS_SC_RAILS + bool "Enable Host based control of the shader core power rails" + depends on MALI_CSF_SUPPORT + default n + help + This option enables the Host based control of the power rails for + shader cores. It is recommended to use PDCA (Power Domain Control + Adapter) inside the GPU to handshake with SoC PMU to control the + power of cores. endif config MALI_ARBITRATION |