summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig')
-rw-r--r--drivers/gpu/nvgpu/Kconfig60
1 files changed, 60 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig b/drivers/gpu/nvgpu/Kconfig
new file mode 100644
index 00000000..160ec8be
--- /dev/null
+++ b/drivers/gpu/nvgpu/Kconfig
@@ -0,0 +1,60 @@
1config GK20A
2 bool "Nvidia GK20A GPU support"
3 help
4 Choose this option if you have an SoC with integrated
5 Nvidia GPU IP.
6
7config GK20A_DEFAULT_TIMEOUT
8 depends on GK20A
9 int "Default timeout for submits"
10 default 10000
11 help
12 Default timeout for jobs in milliseconds. Set to zero for no timeout.
13
14config GK20A_PMU
15 bool "Support GK20A PMU"
16 depends on GK20A
17 default n
18 help
19 Say Y here to enable GK20A PMU features.
20
21choice
22 depends on GK20A
23 prompt "Enable GK20A frequency scaling"
24 default GK20A_PERFMON
25 optional
26 help
27 Select this entry to enable gk20a scaling
28
29config GK20A_PERFMON
30 bool "Use Perfmon"
31 help
32 Select this to enable built-in perfmon scaling.
33 The built-in scaling option uses simplistic
34 scaling mechanism (if busy, increase frequency and
35 decrease frequency if idle).
36
37config GK20A_DEVFREQ
38 bool "Use Devfreq"
39 help
40 Select this to use devfreq based scaling.
41 Devfreq is a common framework that allows using
42 variety of different governors and changing
43 between governors on the fly. By default, no
44 governor is selected.
45
46endchoice
47
48config GK20A_CYCLE_STATS
49 bool "Support GK20A GPU CYCLE STATS"
50 depends on GK20A
51 default y
52 help
53 Say Y here to enable the cycle stats debugging features.
54
55config GK20A_PHYS_PAGE_TABLES
56 bool "Use physical addressing for gk20a page tables"
57 default y if TEGRA_SIMULATION_PLATFORM
58 help
59 Use physical addressing for gk20a page tables. If this is off, we
60 use SMMU translation.