diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Kconfig.nvgpu | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig.nvgpu b/drivers/gpu/nvgpu/Kconfig.nvgpu new file mode 100644 index 00000000..4c1cdf00 --- /dev/null +++ b/drivers/gpu/nvgpu/Kconfig.nvgpu | |||
@@ -0,0 +1,112 @@ | |||
1 | config GK20A | ||
2 | tristate "Nvidia GK20A GPU support" | ||
3 | default y | ||
4 | help | ||
5 | Choose this option if you have an SoC with integrated | ||
6 | Nvidia GPU IP. | ||
7 | |||
8 | config GK20A_DEFAULT_TIMEOUT | ||
9 | depends on GK20A | ||
10 | int "Default timeout for submits" | ||
11 | default 3000 | ||
12 | help | ||
13 | Default timeout for jobs in milliseconds. Set to zero for no timeout. | ||
14 | |||
15 | config GK20A_PMU | ||
16 | bool "Support GK20A PMU" | ||
17 | depends on GK20A | ||
18 | default n | ||
19 | help | ||
20 | Say Y here to enable GK20A PMU features. | ||
21 | |||
22 | choice | ||
23 | depends on GK20A | ||
24 | prompt "Enable GK20A frequency scaling" | ||
25 | default GK20A_PERFMON | ||
26 | optional | ||
27 | help | ||
28 | Select this entry to enable gk20a scaling | ||
29 | |||
30 | config GK20A_PERFMON | ||
31 | bool "Use Perfmon" | ||
32 | help | ||
33 | Select this to enable built-in perfmon scaling. | ||
34 | The built-in scaling option uses simplistic | ||
35 | scaling mechanism (if busy, increase frequency and | ||
36 | decrease frequency if idle). | ||
37 | |||
38 | config GK20A_DEVFREQ | ||
39 | depends on TEGRA_CLK_FRAMEWORK || COMMON_CLK | ||
40 | bool "Use Devfreq" | ||
41 | help | ||
42 | Select this to use devfreq based scaling. | ||
43 | Devfreq is a common framework that allows using | ||
44 | variety of different governors and changing | ||
45 | between governors on the fly. By default, no | ||
46 | governor is selected. | ||
47 | |||
48 | endchoice | ||
49 | |||
50 | config GK20A_CYCLE_STATS | ||
51 | bool "Support GK20A GPU CYCLE STATS" | ||
52 | depends on GK20A | ||
53 | default y | ||
54 | help | ||
55 | Say Y here to enable the cycle stats debugging features. | ||
56 | |||
57 | config GK20A_CTXSW_TRACE | ||
58 | bool "Support GK20A Context Switch tracing" | ||
59 | depends on GK20A | ||
60 | default n | ||
61 | help | ||
62 | Enable support for the GK20A Context Switch Tracing. In this mode, | ||
63 | FECS collects timestamps for contexts loaded on GR engine. This | ||
64 | allows tracking context switches on GR engine, as well as | ||
65 | identifying processes that submitted work. | ||
66 | |||
67 | config TEGRA_GK20A | ||
68 | bool "Enable the GK20A GPU on Tegra" | ||
69 | depends on TEGRA_GRHOST || TEGRA_HOST1X | ||
70 | depends on GK20A | ||
71 | default y | ||
72 | help | ||
73 | Enable support for the GK20A graphics engine on Tegra | ||
74 | by adding a Tegra platfrom interface to the GK20A driver. | ||
75 | The Tegra platform interface requires TEGRA_GRHOST (host1x). | ||
76 | |||
77 | config TEGRA_ACR | ||
78 | bool "Enable HS bin support on GM20B GPU on Tegra" | ||
79 | depends on GK20A_PMU | ||
80 | default n | ||
81 | help | ||
82 | Enable Support for Loading High Secure binary, and using | ||
83 | Write Protected Regions (WPR) for storing ucodes, and bootstrap | ||
84 | PMU, FECS and GPCCS in Low Secure mode. | ||
85 | |||
86 | config TEGRA_USE_NA_GPCPLL | ||
87 | bool "Enable noise aware mode of GM20B GPCPLL on Tegra" | ||
88 | depends on TEGRA_CLK_FRAMEWORK | ||
89 | default n | ||
90 | help | ||
91 | Enable noise aware (NA) mode of GM20b GPCPLL. In this mode PLL output | ||
92 | frequency is automatically adjusted when GM20b voltage is fluctuating | ||
93 | because of transient PMIC or power distribution tree noise. | ||
94 | |||
95 | config GK20A_PCI | ||
96 | bool "Support PCIe NVIDIA GPUs on nvgpu" | ||
97 | depends on PCI && GK20A | ||
98 | default y if ARM64 | ||
99 | default n | ||
100 | help | ||
101 | Enable support for GPUs on PCIe bus. | ||
102 | |||
103 | config GK20A_VIDMEM | ||
104 | bool "Support separate video memory on nvgpu" | ||
105 | depends on GK20A | ||
106 | default n | ||
107 | help | ||
108 | Enable support for using and allocating buffers in a distinct video | ||
109 | memory aperture (in contrast to general system memory), available on | ||
110 | GPUs that have their own banks. PCIe GPUs have this, for example. | ||
111 | |||
112 | trysource "../nvgpu-t19x/drivers/gpu/nvgpu/Kconfig" | ||