mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
This patch modifies TegraDRM to compile on NVIDIA downstream kernel. Currently buffers are pinned to virtual drm device. In upstream this is ok since the buffers will be remapped into the TegraDRM maintained IOMMU domain. However, NVIDIA downstream kernel relies on DMA mapping API and hence requires that the buffers are pinned to the real hardware device. In addition, this patch modifies code to use downstream power-management APIs if the downstream option is enabled. Bug 1698151 Change-Id: I1cb7a1a0ad0ae767c48bfecb608d899e484d6b40 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/823640
84 lines
2.2 KiB
Plaintext
84 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 3000
|
||
help
|
||
Default timeout for jobs in milliseconds. Set to zero for no timeout.
|
||
|
||
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
|
||
depends on TEGRA_CLK_FRAMEWORK || COMMON_CLK
|
||
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 TEGRA_GK20A
|
||
bool "Enable the GK20A GPU on Tegra"
|
||
depends on TEGRA_GRHOST || TEGRA_HOST1X
|
||
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.
|
||
|
||
config TEGRA_USE_NA_GPCPLL
|
||
bool "Enable noise aware mode of GM20B GPCPLL on Tegra"
|
||
depends on TEGRA_CLK_FRAMEWORK
|
||
default n
|
||
help
|
||
Enable noise aware (NA) mode of GM20b GPCPLL. In this mode PLL output
|
||
frequency is automatically adjusted when GM20b voltage is fluctuating
|
||
because of transient PMIC or power distribution tree noise.
|