Skip to content

Commit ff065ea

Browse files
drobnikThomas Zimmermann
authored andcommitted
drm/ttm/tests: Require MMU when testing
Satisfy MMU dependency when testing TTM with KUnit. This fixes compilation errors on platforms that don't select this option by default. Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308110133.f0lhFwMV-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202308111032.enU8IisR-lkp@intel.com/ Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230811113649.697886-1-karolina.stolarek@intel.com Signed-off-by: Christian König <christian.koenig@amd.com> (cherry picked from commit 78f46ec) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
1 parent 438cf32 commit ff065ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ config DRM_TTM
198198
config DRM_TTM_KUNIT_TEST
199199
tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS
200200
default n
201-
depends on DRM && KUNIT
201+
depends on DRM && KUNIT && MMU
202202
select DRM_TTM
203203
select DRM_EXPORT_FOR_TESTS if m
204204
select DRM_KUNIT_TEST_HELPERS

0 commit comments

Comments
 (0)