]> nv-tegra.nvidia Code Review - linux-3.10.git/blob - drivers/gpu/nvgpu/Kconfig
gpu: nvgpu: create sync_fence only if needed
[linux-3.10.git] / drivers / gpu / nvgpu / Kconfig
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 5000
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
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 TEGRA_GK20A
58         bool "Enable the GK20A GPU on Tegra"
59         depends on TEGRA_GRHOST
60         depends on GK20A
61         default y
62         help
63           Enable support for the GK20A graphics engine on Tegra
64           by adding a Tegra platfrom interface to the GK20A driver.
65           The Tegra platform interface requires TEGRA_GRHOST (host1x).
66
67 config TEGRA_ACR
68         bool "Enable HS bin support on GM20B GPU on Tegra"
69         depends on GK20A_PMU
70         default n
71         help
72           Enable Support for Loading High Secure binary, and using
73           Write Protected Regions (WPR) for storing ucodes, and bootstrap
74           PMU, FECS and GPCCS in Low Secure mode.
75
76 config TEGRA_USE_NA_GPCPLL
77         bool "Enable noise aware mode of GM20B GPCPLL on Tegra"
78         depends on TEGRA_CLK_FRAMEWORK
79         default n
80         help
81           Enable noise aware (NA) mode of GM20b GPCPLL. In this mode PLL output
82           frequency is automatically adjusted when GM20b voltage is fluctuating
83           because of transient PMIC or power distribution tree noise.