mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
Adds functionality to calculate adsp cpu usage Inits, loads, starts and resume adsp_lpthread app Bug 1727014 Change-Id: Icaf7a1ba9e91bff19d7fbc894bfdd0f884971d6c Signed-off-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-on: http://git-master/r/1134173 (cherry picked from commit 256bd7180cefa523a9e480be315fbf47b9c8de4f) Signed-off-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1564162 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com> Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
92 lines
1.9 KiB
Plaintext
92 lines
1.9 KiB
Plaintext
config TEGRA_NVADSP
|
|
bool "Enable Host ADSP driver"
|
|
default n
|
|
select ARM_GIC_PM
|
|
select FIQ
|
|
help
|
|
Enables support for Host ADSP driver.
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_NVADSP_ON_SMMU
|
|
bool "Use SMMU to relocate ADSP"
|
|
depends on (TEGRA_IOMMU_SMMU || OF_TEGRA_IOMMU_SMMU) && TEGRA_NVADSP
|
|
default n
|
|
help
|
|
Use SMMU to relocate ADSP OS.
|
|
|
|
config TEGRA_ADSP_DFS
|
|
bool "Enable ADSP DFS"
|
|
depends on TEGRA_NVADSP
|
|
default n
|
|
help
|
|
Enable ADSP dynamic frequency scaling. Use this config
|
|
to scale adsp frequency via actmon or set fixed value.
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_ADSP_ACTMON
|
|
bool "Enable ADSP ACTMON"
|
|
depends on TEGRA_ADSP_DFS
|
|
default n
|
|
help
|
|
Enable ADSP actmon. It converts adsp activty to frequency and
|
|
asks adsp dfs to set the adsp frequency. Use it if adsp frequency
|
|
to be scaled dynamically by actmon.
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_ADSP_CPUSTAT
|
|
bool "Enable ADSP CPUSTAT"
|
|
depends on DEBUG_FS && TEGRA_NVADSP && !TEGRA_ADSP_ACTMON
|
|
default n
|
|
help
|
|
Enable ADSP cpu usage measurement using actmon
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_ADSP_FILEIO
|
|
bool "Enable ADSP file io"
|
|
default n
|
|
help
|
|
Enable dumping to and reading from file on host from ADSP
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_ADSP_LPTHREAD
|
|
bool "Enable ADSP usage calc by lpthread"
|
|
depends on DEBUG_FS
|
|
default n
|
|
help
|
|
Enable calculation of ADSP usage by running a low priority
|
|
thread in background whenever OS is not suspended. Can be
|
|
enable or disabled by echo to adsp_usage file.
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_EMC_APE_DFS
|
|
bool "Enable emc dfs due to APE"
|
|
default n
|
|
help
|
|
Enable emc dfs due to APE DRAM access
|
|
|
|
If unsure, say N
|
|
|
|
config TEGRA_ADSP_CONSOLE
|
|
bool "Enable ADSP console"
|
|
depends on TEGRA_NVADSP
|
|
default y
|
|
help
|
|
Enable ADSP console access
|
|
|
|
If unsure, say N
|
|
|
|
config MBOX_ACK_HANDLER
|
|
bool "Enable mailbox acknowledge handler"
|
|
depends on TEGRA_NVADSP
|
|
default n
|
|
help
|
|
Enable mailbox acknowledge handler
|
|
|
|
if unsure, say N
|