[PATCH 5/6] drm/ttm: disable ttm_bo_validate_deleted_evict for now

Christian König ckoenig.leichtzumerken at gmail.com
Mon Jun 16 13:07:25 UTC 2025


That test case uses internal TTM behavior which is about to change. We
need a mock fence or similar to get it working instead.

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c b/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
index 4553c4e0e0f1..6766e1753343 100644
--- a/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
+++ b/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
@@ -977,6 +977,7 @@ static void ttm_bo_validate_allowed_only_evict(struct kunit *test)
 	ttm_mock_manager_fini(priv->ttm_dev, mem_multihop);
 }
 
+#if 0
 static void ttm_bo_validate_deleted_evict(struct kunit *test)
 {
 	struct ttm_operation_ctx ctx_init = { }, ctx_val  = { };
@@ -1026,6 +1027,7 @@ static void ttm_bo_validate_deleted_evict(struct kunit *test)
 	ttm_bo_fini(bo_big);
 	ttm_mock_manager_fini(priv->ttm_dev, mem_type);
 }
+#endif
 
 static void ttm_bo_validate_busy_domain_evict(struct kunit *test)
 {
@@ -1205,7 +1207,7 @@ static struct kunit_case ttm_bo_validate_test_cases[] = {
 	KUNIT_CASE(ttm_bo_validate_happy_evict),
 	KUNIT_CASE(ttm_bo_validate_all_pinned_evict),
 	KUNIT_CASE(ttm_bo_validate_allowed_only_evict),
-	KUNIT_CASE(ttm_bo_validate_deleted_evict),
+	/*KUNIT_CASE(ttm_bo_validate_deleted_evict),*/
 	KUNIT_CASE(ttm_bo_validate_busy_domain_evict),
 	KUNIT_CASE(ttm_bo_validate_evict_gutting),
 	KUNIT_CASE(ttm_bo_validate_recrusive_evict),
-- 
2.34.1



More information about the Intel-xe mailing list