Skip to contentSkip to conversation

kunit: configs: Enable DRM tests

PATCH In review Mark Brown 2 participants 2 messages Sep 11 – Sep 13

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 kunit: configs: Enable DRM tests

There are a number of KUnit tests in the DRM subsystem but these are not run as standard since they are gated behind the main DRM config option and all_tests.config does not ensure that is enabled. Add it.

---
 tools/testing/kunit/configs/all_tests.config | 2 ++
 1 file changed, 2 insertions(+)
tools/testing/kunit/configs/all_tests.config +2 -0
index bccc2c77196d5..bee893f9fbbc6 100644
@@ -59,3 +59,5 @@ CONFIG_SND=y
 CONFIG_SND_SOC=y
 CONFIG_SND_SOC_TOPOLOGY_BUILD=y
 CONFIG_SND_SOC_CS35L56_I2C=y
+
+CONFIG_DRM=y

---
base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
change-id: 20260911-kunit-drm-9cce0032e098

Best regards,

Signature · 1 line
Mark Brown <[email protected]>
maintainer Reviewed-by on v1 1/1
#1 lore raw

Le 12/09/2026 à 04:25, 'Mark Brown' via KUnit Development a écrit :

Quoted 6 lines

There are a number of KUnit tests in the DRM subsystem but these are not run as standard since they are gated behind the main DRM config option and all_tests.config does not ensure that is enabled. Add it.

---

I think this is overall a worthwhile change, but the drm_sched_scheduler_overhead_tests do fail on UML at the moment.

I've sent a potential fix out (the test seems to fail if CONFIG_HZ is 100) here:
https://lore.kernel.org/all/[email protected]/

Ideally, that'd land first so we don't end up with yet more breakage, but otherwise we can perhaps disable those tests on UML for now.

Regardless, this is:

Cheers,
-- David

Quoted 22 lines
  tools/testing/kunit/configs/all_tests.config | 2 ++
  1 file changed, 2 insertions(+)
tools/testing/kunit/configs/all_tests.config +2 -1
index bccc2c77196d5..bee893f9fbbc6 100644
@@ -59,3 +59,5 @@ CONFIG_SND=y
  CONFIG_SND_SOC=y
  CONFIG_SND_SOC_TOPOLOGY_BUILD=y
  CONFIG_SND_SOC_CS35L56_I2C=y
+
+CONFIG_DRM=y
 
---

base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
change-id: 20260911-kunit-drm-9cce0032e098

Best regards,
--
Mark Brown <[email protected]>