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