Kconfig (407da561244b9d51e6a794d6305ba38ec2c9d907) Kconfig (000458b5966fab07568cd6cf5d044314f448e34c)
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 HDMI
13 select FB_CMDLINE
14 select I2C
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 HDMI
13 select FB_CMDLINE
14 select I2C
15 select I2C_ALGOBIT
16 select DMA_SHARED_BUFFER
17 select SYNC_FILE
18# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
19# device and dmabuf fd. Let's make sure that is available for our userspace.
20 select KCMP
21 select VIDEO_NOMODESET
22 help
23 Kernel-level support for the Direct Rendering Infrastructure (DRI)

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

58 depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE
59 depends on JUMP_LABEL
60 help
61 Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
62 Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
63 bytes per callsite, the .data costs can be substantial, and
64 are therefore configurable.
65
15 select DMA_SHARED_BUFFER
16 select SYNC_FILE
17# gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
18# device and dmabuf fd. Let's make sure that is available for our userspace.
19 select KCMP
20 select VIDEO_NOMODESET
21 help
22 Kernel-level support for the Direct Rendering Infrastructure (DRI)

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

57 depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE
58 depends on JUMP_LABEL
59 help
60 Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
61 Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
62 bytes per callsite, the .data costs can be substantial, and
63 are therefore configurable.
64
65config DRM_KUNIT_TEST_HELPERS
66 tristate
67 depends on DRM && KUNIT
68 help
69 KUnit Helpers for KMS drivers.
70
66config DRM_KUNIT_TEST
67 tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS
68 depends on DRM && KUNIT
69 select PRIME_NUMBERS
70 select DRM_DISPLAY_DP_HELPER
71 select DRM_DISPLAY_HELPER
72 select DRM_LIB_RANDOM
73 select DRM_KMS_HELPER
74 select DRM_BUDDY
75 select DRM_EXPORT_FOR_TESTS if m
71config DRM_KUNIT_TEST
72 tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS
73 depends on DRM && KUNIT
74 select PRIME_NUMBERS
75 select DRM_DISPLAY_DP_HELPER
76 select DRM_DISPLAY_HELPER
77 select DRM_LIB_RANDOM
78 select DRM_KMS_HELPER
79 select DRM_BUDDY
80 select DRM_EXPORT_FOR_TESTS if m
81 select DRM_KUNIT_TEST_HELPERS
76 default KUNIT_ALL_TESTS
77 help
78 This builds unit tests for DRM. This option is not useful for
79 distributions or general kernels, but only for kernel
80 developers working on DRM and associated drivers.
81
82 For more information on KUnit and unit tests in general,
83 please refer to the KUnit documentation in

--- 384 unchanged lines hidden ---
82 default KUNIT_ALL_TESTS
83 help
84 This builds unit tests for DRM. This option is not useful for
85 distributions or general kernels, but only for kernel
86 developers working on DRM and associated drivers.
87
88 For more information on KUnit and unit tests in general,
89 please refer to the KUnit documentation in

--- 384 unchanged lines hidden ---