mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kunit: configs: Enable DRM tests
@ 2026-09-11 20:25 Mark Brown
  2026-09-13  8:53 ` David Gow
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-09-11 20:25 UTC (permalink / raw)
  To: Brendan Higgins, David Gow, Rae Moar
  Cc: David Airlie, Simona Vetter, dri-devel, linux-kselftest,
	kunit-dev, linux-kernel, Mark Brown

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.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 tools/testing/kunit/configs/all_tests.config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
index bccc2c77196d5..bee893f9fbbc6 100644
--- a/tools/testing/kunit/configs/all_tests.config
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -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 <broonie@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kunit: configs: Enable DRM tests
  2026-09-11 20:25 [PATCH] kunit: configs: Enable DRM tests Mark Brown
@ 2026-09-13  8:53 ` David Gow
  0 siblings, 0 replies; 2+ messages in thread
From: David Gow @ 2026-09-13  8:53 UTC (permalink / raw)
  To: Mark Brown, Brendan Higgins, Rae Moar, Tvrtko Ursulin
  Cc: David Airlie, Simona Vetter, dri-devel, linux-kselftest,
	kunit-dev, linux-kernel

Le 12/09/2026 à 04:25, 'Mark Brown' via KUnit Development a écrit :
> 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.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---

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/20260913084155.520015-2-david@davidgow.net/

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:

Reviewed-by: David Gow <david@davidgow.net>

Cheers,
-- David

>   tools/testing/kunit/configs/all_tests.config | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
> index bccc2c77196d5..bee893f9fbbc6 100644
> --- a/tools/testing/kunit/configs/all_tests.config
> +++ b/tools/testing/kunit/configs/all_tests.config
> @@ -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 <broonie@kernel.org>
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-13  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 20:25 [PATCH] kunit: configs: Enable DRM tests Mark Brown
2026-09-13  8:53 ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®