We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f91085 commit 9d3f8a7Copy full SHA for 9d3f8a7
drivers/gpu/drm/Kconfig
@@ -199,15 +199,16 @@ config DRM_TTM
199
config DRM_TTM_KUNIT_TEST
200
tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS
201
default n
202
- depends on DRM && KUNIT && MMU
+ depends on DRM && KUNIT && MMU && (UML || COMPILE_TEST)
203
select DRM_TTM
204
select DRM_EXPORT_FOR_TESTS if m
205
select DRM_KUNIT_TEST_HELPERS
206
default KUNIT_ALL_TESTS
207
help
208
Enables unit tests for TTM, a GPU memory manager subsystem used
209
to manage memory buffers. This option is mostly useful for kernel
210
- developers.
+ developers. It depends on (UML || COMPILE_TEST) since no other driver
211
+ which uses TTM can be loaded while running the tests.
212
213
If in doubt, say "N".
214
0 commit comments