Re: [PATCH drm-misc-next] drm/ttm/tests: Require MMU when testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

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:
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@xxxxxxxxx>
Cc: Christian König <christian.koenig@xxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202308110133.f0lhFwMV-lkp@xxxxxxxxx/
Closes: https://lore.kernel.org/oe-kbuild-all/202308111032.enU8IisR-lkp@xxxxxxxxx/

This should have also mentioned

Fixes: e3912d09bf8d ("drm/ttm: Introduce KUnit test")

Best regards
Thomas

---
  drivers/gpu/drm/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 9d1f0e04fd56..ab9ef1c20349 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -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
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)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux