]> nv-tegra.nvidia Code Review - linux-3.10.git/blob - drivers/video/tegra/Kconfig
video: tegra: dc: use Kconfig to enable nvhdcp
[linux-3.10.git] / drivers / video / tegra / Kconfig
1 if ARCH_TEGRA
2
3 comment "NVIDIA Tegra Display Driver options"
4
5 config TEGRA_GRHOST
6         tristate "Tegra graphics host driver"
7         help
8           Driver for the Tegra graphics host hardware.
9
10 config TEGRA_DC
11         tristate "Tegra Display Contoller"
12         depends on ARCH_TEGRA && TEGRA_GRHOST
13         select FB_MODE_HELPERS
14         select I2C
15         help
16           Tegra display controller support.
17
18 config TEGRA_OVERLAY
19         tristate "Tegra Overlay Device Node"
20         depends on TEGRA_DC
21         default y
22         help
23           Device node for multi-client overlay support.
24
25 config FB_TEGRA
26         tristate "Tegra Framebuffer driver"
27         depends on TEGRA_DC && FB = y
28         select FB_CFB_FILLRECT
29         select FB_CFB_COPYAREA
30         select FB_CFB_IMAGEBLIT
31         default FB
32         help
33           Framebuffer device support for the Tegra display controller.
34
35 config TEGRA_DC_EXTENSIONS
36         bool "Tegra Display Controller Extensions"
37         depends on TEGRA_DC
38         default y
39         help
40           This exposes support for extended capabilities of the Tegra display
41           controller to userspace drivers.
42
43 config TEGRA_NVMAP
44         bool "Tegra GPU memory management driver (nvmap)"
45         default y
46         help
47           Say Y here to include the memory management driver for the Tegra
48           GPU, multimedia and display subsystems
49
50 config NVMAP_RECLAIM_UNPINNED_VM
51         bool "Virtualize IOVMM memory in nvmap"
52         depends on TEGRA_NVMAP && TEGRA_IOVMM
53         default y
54         help
55           Say Y here to enable nvmap to reclaim I/O virtual memory after
56           it has been unpinned, and re-use it for other handles. This can
57           allow a larger virtual I/O VM space than would normally be
58           supported by the hardware, at a slight cost in performance.
59
60 config NVMAP_ALLOW_SYSMEM
61         bool "Allow physical system memory to be used by nvmap"
62         depends on TEGRA_NVMAP
63         default y
64         help
65           Say Y here to allow nvmap to use physical system memory (i.e.,
66           shared with the operating system but not translated through
67           an IOVMM device) for allocations.
68
69 config NVMAP_HIGHMEM_ONLY
70         bool "Use only HIGHMEM for nvmap"
71         depends on TEGRA_NVMAP && (NVMAP_ALLOW_SYSMEM || TEGRA_IOVMM) && HIGHMEM
72         default n
73         help
74           Say Y here to restrict nvmap system memory allocations (both
75           physical system memory and IOVMM) to just HIGHMEM pages.
76
77 config NVMAP_CARVEOUT_KILLER
78         bool "Reclaim nvmap carveout by killing processes"
79         depends on TEGRA_NVMAP
80         default n
81         help
82           Say Y here to allow the system to reclaim carveout space by killing
83           processes. This will kill the largest consumers of lowest priority
84           first.
85
86 config NVMAP_CARVEOUT_COMPACTOR
87         bool "Compact carveout when it gets fragmented"
88         depends on TEGRA_NVMAP
89         default y
90         help
91           When carveout allocation attempt fails, compactor defragements
92           heap and retries the failed allocation.
93           Say Y here to let nvmap to keep carveout fragmentation under control.
94
95
96 config NVMAP_VPR
97         bool "Enable VPR Heap."
98         depends on TEGRA_NVMAP
99         default n
100         help
101           Say Y here to enable Video Protection Region(VPR) heap.
102           if unsure, say N.
103
104 config TEGRA_DSI
105         bool "Enable DSI panel."
106         default n
107         help
108           Say Y here to enable the DSI panel.
109
110 config NVMAP_CONVERT_CARVEOUT_TO_IOVMM
111         bool "Convert carveout to IOVMM"
112         depends on TEGRA_NVMAP && TEGRA_IOVMM_SMMU
113         default y
114         help
115           Say Y here to force to convert carveout memory requests to
116           I/O virtual memory requests.
117
118 config TEGRA_NVHDCP
119         bool "Support NVHDCP content protection on HDMI"
120         default n
121         help
122           Say Y here to support NVHDCP upstream and downstream protocols, this
123           requires a correctly fused chip to negotiate keys.
124
125 endif
126