Skip to contentSkip to conversation

drm/i915: replace DRM_DEBUG_SELFTEST with DRM_KUNIT_TEST

PATCH Superseded Ruben Wauters 2 participants 4 messages Jul 1, 2025 1 message not in the archive

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm/i915: replace DRM_DEBUG_SELFTEST with DRM_KUNIT_TEST

DRM_DEBUG_SELFTEST was replaced with DRM_KUNIT_TEST.

This patch replaces the select in Kconfig.debug to use the replacement.

---
 drivers/gpu/drm/i915/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/Kconfig.debug +1 -1
index 1852e0804942..b15b1cecb3aa 100644
@@ -50,7 +50,7 @@ config DRM_I915_DEBUG
 	select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
 	select DRM_DEBUG_MM if DRM=y
 	select DRM_EXPORT_FOR_TESTS if m
-	select DRM_DEBUG_SELFTEST
+	select DRM_KUNIT_TEST
 	select DMABUF_SELFTESTS
 	select SW_SYNC # signaling validation framework (igt/syncobj*)
 	select DRM_I915_WERROR
Signature · 1 line
2.48.1
#2 lore raw
Quoted 22 lines · Ruben Wauters

DRM_DEBUG_SELFTEST was replaced with DRM_KUNIT_TEST.

This patch replaces the select in Kconfig.debug to use the replacement.

---
 drivers/gpu/drm/i915/Kconfig.debug | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/Kconfig.debug +0 -0
index 1852e0804942..b15b1cecb3aa 100644
@@ -50,7 +50,7 @@ config DRM_I915_DEBUG

  select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
  select DRM_DEBUG_MM if DRM=y
  select DRM_EXPORT_FOR_TESTS if m

drivers/gpu/drm/i915/Kconfig.debug +1 -1
-	select DRM_DEBUG_SELFTEST
+	select DRM_KUNIT_TEST
Quoted 4 lines

  select DMABUF_SELFTESTS
  select SW_SYNC # signaling validation framework (igt/syncobj*)
  select DRM_I915_WERROR

(apologies I appear to have mistyped an email, I am sending it via a reply with the correct email included, please let me know if you'd rather I resend it)

Ruben Wauters

maintainer
#3 lore raw
In reply to Ruben Wauters
Quoted 3 lines · Ruben Wauters

DRM_DEBUG_SELFTEST was replaced with DRM_KUNIT_TEST.

This patch replaces the select in Kconfig.debug to use the replacement.

Why? That's the most important questions the commit messages should answer.

BR,
Jani.

Quoted 19 lines
---
 drivers/gpu/drm/i915/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/Kconfig.debug +1 -1
index 1852e0804942..b15b1cecb3aa 100644
@@ -50,7 +50,7 @@ config DRM_I915_DEBUG
 	select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
 	select DRM_DEBUG_MM if DRM=y
 	select DRM_EXPORT_FOR_TESTS if m
-	select DRM_DEBUG_SELFTEST
+	select DRM_KUNIT_TEST
 	select DMABUF_SELFTESTS
 	select SW_SYNC # signaling validation framework (igt/syncobj*)
 	select DRM_I915_WERROR
Signature · 1 line
Jani Nikula, Intel
#4 lore raw
Quoted 8 lines · Jani Nikula
Quoted 4 lines · Ruben Wauters

DRM_DEBUG_SELFTEST was replaced with DRM_KUNIT_TEST.

This patch replaces the select in Kconfig.debug to use the replacement.

Why? That's the most important questions the commit messages should answer.

Sorry, I wrote the commit message quite late at night and forgot to include a lot of information, I will send a v2 with more information in the message.

Quoted 25 lines

BR,
Jani.

Quoted 22 lines

---
 drivers/gpu/drm/i915/Kconfig.debug | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/Kconfig.debug +0 -0
index 1852e0804942..b15b1cecb3aa 100644
@@ -50,7 +50,7 @@ config DRM_I915_DEBUG

  select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
  select DRM_DEBUG_MM if DRM=y
  select DRM_EXPORT_FOR_TESTS if m

drivers/gpu/drm/i915/Kconfig.debug +1 -1
-	select DRM_DEBUG_SELFTEST
+	select DRM_KUNIT_TEST

  select DMABUF_SELFTESTS
  select SW_SYNC # signaling validation framework (igt/syncobj*)
  select DRM_I915_WERROR