mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
This patch adds support for executing a precompiled GPU program to allow exporting GPU buffers to other graphics units that have color decompression engine (CDE) support. Bug 1409151 Change-Id: Id0c930923f2449b85a6555de71d7ec93eed238ae Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/360418 Reviewed-by: Lauri Peltonen <lpeltonen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
90 lines
2.2 KiB
Plaintext
90 lines
2.2 KiB
Plaintext
config GK20A
|
|
tristate "Nvidia GK20A GPU support"
|
|
default y
|
|
help
|
|
Choose this option if you have an SoC with integrated
|
|
Nvidia GPU IP.
|
|
|
|
config GK20A_DEFAULT_TIMEOUT
|
|
depends on GK20A
|
|
int "Default timeout for submits"
|
|
default 10000
|
|
help
|
|
Default timeout for jobs in milliseconds. Set to zero for no timeout.
|
|
|
|
config GK20A_CDE
|
|
depends on GK20A
|
|
bool "Support compression bit switzzling through CDE"
|
|
default n
|
|
help
|
|
Say Y to allow compression bit swizzling
|
|
using pre-compiled shader.
|
|
|
|
config GK20A_PMU
|
|
bool "Support GK20A PMU"
|
|
depends on GK20A
|
|
default n
|
|
help
|
|
Say Y here to enable GK20A PMU features.
|
|
|
|
choice
|
|
depends on GK20A
|
|
prompt "Enable GK20A frequency scaling"
|
|
default GK20A_PERFMON
|
|
optional
|
|
help
|
|
Select this entry to enable gk20a scaling
|
|
|
|
config GK20A_PERFMON
|
|
bool "Use Perfmon"
|
|
help
|
|
Select this to enable built-in perfmon scaling.
|
|
The built-in scaling option uses simplistic
|
|
scaling mechanism (if busy, increase frequency and
|
|
decrease frequency if idle).
|
|
|
|
config GK20A_DEVFREQ
|
|
bool "Use Devfreq"
|
|
help
|
|
Select this to use devfreq based scaling.
|
|
Devfreq is a common framework that allows using
|
|
variety of different governors and changing
|
|
between governors on the fly. By default, no
|
|
governor is selected.
|
|
|
|
endchoice
|
|
|
|
config GK20A_CYCLE_STATS
|
|
bool "Support GK20A GPU CYCLE STATS"
|
|
depends on GK20A
|
|
default y
|
|
help
|
|
Say Y here to enable the cycle stats debugging features.
|
|
|
|
config GK20A_PHYS_PAGE_TABLES
|
|
bool "Use physical addressing for gk20a page tables"
|
|
depends on GK20A
|
|
default y if TEGRA_SIMULATION_PLATFORM
|
|
help
|
|
Use physical addressing for gk20a page tables. If this is off, we
|
|
use SMMU translation.
|
|
|
|
config TEGRA_GK20A
|
|
bool "Enable the GK20A GPU on Tegra"
|
|
depends on TEGRA_GRHOST
|
|
depends on GK20A
|
|
default y
|
|
help
|
|
Enable support for the GK20A graphics engine on Tegra
|
|
by adding a Tegra platfrom interface to the GK20A driver.
|
|
The Tegra platform interface requires TEGRA_GRHOST (host1x).
|
|
|
|
config TEGRA_ACR
|
|
bool "Enable HS bin support on GM20B GPU on Tegra"
|
|
depends on GK20A_PMU
|
|
default n
|
|
help
|
|
Enable Support for Loading High Secure binary, and using
|
|
Write Protected Regions (WPR) for storing ucodes, and bootstrap
|
|
PMU, FECS and GPCCS in Low Secure mode.
|