From: Maxime Ripard Date: Tue, 24 Feb 2026 11:03:10 +0000 (+0100) Subject: drm/tests: Mark slow tests as slow X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea5b6ff0d63aef1dc3fb25445acea183f61a934;p=thirdparty%2Fkernel%2Flinux.git drm/tests: Mark slow tests as slow Some DRM tests cross the 1s execution time threshold that defines a test as slow. Let's flag them as such. Reviewed-by: Arunpravin Paneer Selvam Reviewed-by: Tvrtko Ursulin Reviewed-by: Thomas Zimmermann Link: https://patch.msgid.link/20260224110310.1854608-1-mripard@kernel.org Signed-off-by: Maxime Ripard --- diff --git a/drivers/gpu/drm/scheduler/tests/tests_basic.c b/drivers/gpu/drm/scheduler/tests/tests_basic.c index 82a41a456b0a8..a5a5a35a87b0d 100644 --- a/drivers/gpu/drm/scheduler/tests/tests_basic.c +++ b/drivers/gpu/drm/scheduler/tests/tests_basic.c @@ -421,7 +421,7 @@ static void drm_sched_change_priority(struct kunit *test) static struct kunit_case drm_sched_priority_tests[] = { KUNIT_CASE(drm_sched_priorities), - KUNIT_CASE(drm_sched_change_priority), + KUNIT_CASE_SLOW(drm_sched_change_priority), {} }; @@ -546,7 +546,7 @@ static void drm_sched_test_credits(struct kunit *test) } static struct kunit_case drm_sched_credits_tests[] = { - KUNIT_CASE(drm_sched_test_credits), + KUNIT_CASE_SLOW(drm_sched_test_credits), {} }; diff --git a/drivers/gpu/tests/gpu_buddy_test.c b/drivers/gpu/tests/gpu_buddy_test.c index 450e71deed901..5429010f34d3b 100644 --- a/drivers/gpu/tests/gpu_buddy_test.c +++ b/drivers/gpu/tests/gpu_buddy_test.c @@ -910,7 +910,7 @@ static struct kunit_case gpu_buddy_tests[] = { KUNIT_CASE(gpu_test_buddy_alloc_contiguous), KUNIT_CASE(gpu_test_buddy_alloc_clear), KUNIT_CASE(gpu_test_buddy_alloc_range_bias), - KUNIT_CASE(gpu_test_buddy_fragmentation_performance), + KUNIT_CASE_SLOW(gpu_test_buddy_fragmentation_performance), KUNIT_CASE(gpu_test_buddy_alloc_exceeds_max_order), {} };