drm/ttm/tests: Require MMU when testing
Subsystems (2)
PATCH 1/1 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.
--- drivers/gpu/drm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/Kconfig +1 -1
@@ -198,7 +198,7 @@ config DRM_TTM config DRM_TTM_KUNIT_TEST tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS default n - depends on DRM && KUNIT + depends on DRM && KUNIT && MMU select DRM_TTM select DRM_EXPORT_FOR_TESTS if m select DRM_KUNIT_TEST_HELPERS
Signature · 1 line
2.25.1
Am 11.08.23 um 13:36 schrieb Karolina Stolarek:
Quoted 9 lines
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 <[email protected]>Cc Christian König <[email protected]>Reported-by kernel test robot <[email protected]>
Reviewed and pushed to drm-misc-next.
Quoted 17 lines
--- drivers/gpu/drm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/Kconfig +1
-1@@ -198,7 +198,7 @@ config DRM_TTM config DRM_TTM_KUNIT_TEST tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS default n - depends on DRM && KUNIT + depends on DRM && KUNIT && MMU select DRM_TTM select DRM_EXPORT_FOR_TESTS if m select DRM_KUNIT_TEST_HELPERS
Thomas Zimmermann
maintainerHi
I've cherry-picked the patch into drm-misc-next-fixes, so it will show up in upstream soon.
Am 11.08.23 um 13:36 schrieb Karolina Stolarek:
Quoted 9 lines
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 <[email protected]>Cc Christian König <[email protected]>Reported-by kernel test robot <[email protected]>
This should have also mentioned
Best regards
Thomas
Quoted 17 lines
--- drivers/gpu/drm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/Kconfig +1
-1@@ -198,7 +198,7 @@ config DRM_TTM config DRM_TTM_KUNIT_TEST tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS default n - depends on DRM && KUNIT + depends on DRM && KUNIT && MMU select DRM_TTM select DRM_EXPORT_FOR_TESTS if m select DRM_KUNIT_TEST_HELPERS
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)
Hi Thomas,
Quoted 3 lines · Thomas Zimmermann
Hi
I've cherry-picked the patch into drm-misc-next-fixes, so it will show up in upstream soon.
Many thanks for your help. I'm sorry this one slipped through.
Quoted 12 lines
Am 11.08.23 um 13:36 schrieb Karolina Stolarek:
Quoted 9 lines
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 <[email protected]>Cc Christian König <[email protected]>Reported-by kernel test robot <[email protected]>
Quoted 3 lines
This should have also mentioned
Fixes e3912d09bf8d ("drm/ttm: Introduce KUnit test")
I wasn't sure if for the "Fixes" tag I can refer to drm-misc-next commits, so I left it out.
All the best,
Karolina
Quoted 22 lines
Best regards
ThomasQuoted 17 lines
---
drivers/gpu/drm/Kconfig| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/Kconfig +0
-0@@ -198,7 +198,7 @@ config DRM_TTMconfig
DRM_TTM_KUNIT_TEST
tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS default n
- depends on DRM && KUNIT
+ depends on DRM && KUNIT && MMU
selectDRM_TTM
selectDRM_EXPORT_FOR_TESTSif m
selectDRM_KUNIT_TEST_HELPERS