Kconfig (50501936288d6a29d7ef78f25d00e33240fad45f) Kconfig (c242f48433e79ea8c8c9eb8d2b4a3ee340e635fb)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Drm device configuration
4#
5# This driver provides support for the
6# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
7#
8menuconfig DRM
9 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
10 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
11 select DRM_PANEL_ORIENTATION_QUIRKS
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Drm device configuration
4#
5# This driver provides support for the
6# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
7#
8menuconfig DRM
9 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
10 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
11 select DRM_PANEL_ORIENTATION_QUIRKS
12 select DRM_KMS_HELPER if DRM_FBDEV_EMULATION
13 select FB_CORE if DRM_FBDEV_EMULATION
14 select FB_SYS_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
12 select HDMI
13 select I2C
14 select DMA_SHARED_BUFFER
15 select SYNC_FILE
16# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
17# device and dmabuf fd. Let's make sure that is available for our userspace.
18 select KCMP
19 select VIDEO_CMDLINE

--- 55 unchanged lines hidden (view full) ---

75 select PRIME_NUMBERS
76 select DRM_DISPLAY_DP_HELPER
77 select DRM_DISPLAY_HELPER
78 select DRM_LIB_RANDOM
79 select DRM_KMS_HELPER
80 select DRM_BUDDY
81 select DRM_EXPORT_FOR_TESTS if m
82 select DRM_KUNIT_TEST_HELPERS
15 select HDMI
16 select I2C
17 select DMA_SHARED_BUFFER
18 select SYNC_FILE
19# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
20# device and dmabuf fd. Let's make sure that is available for our userspace.
21 select KCMP
22 select VIDEO_CMDLINE

--- 55 unchanged lines hidden (view full) ---

78 select PRIME_NUMBERS
79 select DRM_DISPLAY_DP_HELPER
80 select DRM_DISPLAY_HELPER
81 select DRM_LIB_RANDOM
82 select DRM_KMS_HELPER
83 select DRM_BUDDY
84 select DRM_EXPORT_FOR_TESTS if m
85 select DRM_KUNIT_TEST_HELPERS
86 select DRM_EXEC
83 default KUNIT_ALL_TESTS
84 help
85 This builds unit tests for DRM. This option is not useful for
86 distributions or general kernels, but only for kernel
87 developers working on DRM and associated drivers.
88
89 For more information on KUnit and unit tests in general,
90 please refer to the KUnit documentation in

--- 34 unchanged lines hidden (view full) ---

125 contention. A history of each drm modeset lock path hitting -EDEADLK
126 will be saved until gracefully handled, and the backtrace will be
127 printed when attempting to lock a contended lock.
128
129 If in doubt, say "N".
130
131config DRM_FBDEV_EMULATION
132 bool "Enable legacy fbdev support for your modesetting driver"
87 default KUNIT_ALL_TESTS
88 help
89 This builds unit tests for DRM. This option is not useful for
90 distributions or general kernels, but only for kernel
91 developers working on DRM and associated drivers.
92
93 For more information on KUnit and unit tests in general,
94 please refer to the KUnit documentation in

--- 34 unchanged lines hidden (view full) ---

129 contention. A history of each drm modeset lock path hitting -EDEADLK
130 will be saved until gracefully handled, and the backtrace will be
131 printed when attempting to lock a contended lock.
132
133 If in doubt, say "N".
134
135config DRM_FBDEV_EMULATION
136 bool "Enable legacy fbdev support for your modesetting driver"
133 depends on DRM_KMS_HELPER
134 depends on FB=y || FB=DRM_KMS_HELPER
135 select FB_CFB_FILLRECT
136 select FB_CFB_COPYAREA
137 select FB_CFB_IMAGEBLIT
138 select FB_DEFERRED_IO
139 select FB_SYS_FOPS
140 select FB_SYS_FILLRECT
141 select FB_SYS_COPYAREA
142 select FB_SYS_IMAGEBLIT
137 depends on DRM
143 select FRAMEBUFFER_CONSOLE if !EXPERT
144 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
145 default y
146 help
147 Choose this option if you have a need for the legacy fbdev
148 support. Note that this support also provides the linux console
149 support on top of your modesetting driver.
150

--- 45 unchanged lines hidden (view full) ---

196config DRM_TTM
197 tristate
198 depends on DRM && MMU
199 help
200 GPU memory management subsystem for devices with multiple
201 GPU memory types. Will be enabled automatically if a device driver
202 uses it.
203
138 select FRAMEBUFFER_CONSOLE if !EXPERT
139 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
140 default y
141 help
142 Choose this option if you have a need for the legacy fbdev
143 support. Note that this support also provides the linux console
144 support on top of your modesetting driver.
145

--- 45 unchanged lines hidden (view full) ---

191config DRM_TTM
192 tristate
193 depends on DRM && MMU
194 help
195 GPU memory management subsystem for devices with multiple
196 GPU memory types. Will be enabled automatically if a device driver
197 uses it.
198
199config DRM_EXEC
200 tristate
201 depends on DRM
202 help
203 Execution context for command submissions
204
204config DRM_BUDDY
205 tristate
206 depends on DRM
207 help
208 A page based buddy allocator
209
210config DRM_VRAM_HELPER
211 tristate

--- 6 unchanged lines hidden (view full) ---

218 depends on DRM
219 select DRM_TTM
220 help
221 Helpers for ttm-based gem objects
222
223config DRM_GEM_DMA_HELPER
224 tristate
225 depends on DRM
205config DRM_BUDDY
206 tristate
207 depends on DRM
208 help
209 A page based buddy allocator
210
211config DRM_VRAM_HELPER
212 tristate

--- 6 unchanged lines hidden (view full) ---

219 depends on DRM
220 select DRM_TTM
221 help
222 Helpers for ttm-based gem objects
223
224config DRM_GEM_DMA_HELPER
225 tristate
226 depends on DRM
227 select FB_SYS_HELPERS if DRM_FBDEV_EMULATION
226 help
227 Choose this if you need the GEM DMA helper functions
228
229config DRM_GEM_SHMEM_HELPER
230 tristate
231 depends on DRM && MMU
232 help
233 Choose this if you need the GEM shmem helper functions

--- 56 unchanged lines hidden (view full) ---

290source "drivers/gpu/drm/ast/Kconfig"
291
292source "drivers/gpu/drm/mgag200/Kconfig"
293
294source "drivers/gpu/drm/armada/Kconfig"
295
296source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
297
228 help
229 Choose this if you need the GEM DMA helper functions
230
231config DRM_GEM_SHMEM_HELPER
232 tristate
233 depends on DRM && MMU
234 help
235 Choose this if you need the GEM shmem helper functions

--- 56 unchanged lines hidden (view full) ---

292source "drivers/gpu/drm/ast/Kconfig"
293
294source "drivers/gpu/drm/mgag200/Kconfig"
295
296source "drivers/gpu/drm/armada/Kconfig"
297
298source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
299
298source "drivers/gpu/drm/rcar-du/Kconfig"
300source "drivers/gpu/drm/renesas/Kconfig"
299
301
300source "drivers/gpu/drm/shmobile/Kconfig"
301
302source "drivers/gpu/drm/sun4i/Kconfig"
303
304source "drivers/gpu/drm/omapdrm/Kconfig"
305
306source "drivers/gpu/drm/tilcdc/Kconfig"
307
308source "drivers/gpu/drm/qxl/Kconfig"
309

--- 16 unchanged lines hidden (view full) ---

326source "drivers/gpu/drm/imx/Kconfig"
327
328source "drivers/gpu/drm/ingenic/Kconfig"
329
330source "drivers/gpu/drm/v3d/Kconfig"
331
332source "drivers/gpu/drm/vc4/Kconfig"
333
302source "drivers/gpu/drm/sun4i/Kconfig"
303
304source "drivers/gpu/drm/omapdrm/Kconfig"
305
306source "drivers/gpu/drm/tilcdc/Kconfig"
307
308source "drivers/gpu/drm/qxl/Kconfig"
309

--- 16 unchanged lines hidden (view full) ---

326source "drivers/gpu/drm/imx/Kconfig"
327
328source "drivers/gpu/drm/ingenic/Kconfig"
329
330source "drivers/gpu/drm/v3d/Kconfig"
331
332source "drivers/gpu/drm/vc4/Kconfig"
333
334source "drivers/gpu/drm/loongson/Kconfig"
335
334source "drivers/gpu/drm/etnaviv/Kconfig"
335
336source "drivers/gpu/drm/hisilicon/Kconfig"
337
338source "drivers/gpu/drm/logicvc/Kconfig"
339
340source "drivers/gpu/drm/mediatek/Kconfig"
341

--- 80 unchanged lines hidden ---
336source "drivers/gpu/drm/etnaviv/Kconfig"
337
338source "drivers/gpu/drm/hisilicon/Kconfig"
339
340source "drivers/gpu/drm/logicvc/Kconfig"
341
342source "drivers/gpu/drm/mediatek/Kconfig"
343

--- 80 unchanged lines hidden ---