All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/drm_buddy: Add drm buddy test cases
@ 2022-04-11  7:28 ` Arunpravin Paneer Selvam
  0 siblings, 0 replies; 16+ messages in thread
From: Arunpravin Paneer Selvam @ 2022-04-11  7:28 UTC (permalink / raw)
  To: igt-dev, intel-gfx, amd-gfx, dri-devel
  Cc: alexander.deucher, Arunpravin Paneer Selvam, matthew.auld, daniel,
	christian.koenig

Add a set of drm buddy test cases to validate the
drm/drm_buddy.c memory allocator.

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
---
 tests/drm_buddy.c | 14 ++++++++++++++
 tests/meson.build |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644 tests/drm_buddy.c

diff --git a/tests/drm_buddy.c b/tests/drm_buddy.c
new file mode 100644
index 00000000..06876e0c
--- /dev/null
+++ b/tests/drm_buddy.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2019 Intel Corporation
+ */
+
+#include "igt.h"
+#include "igt_kmod.h"
+
+IGT_TEST_DESCRIPTION("Basic sanity check of DRM's buddy allocator (struct drm_buddy)");
+
+igt_main
+{
+	igt_kselftests("test-drm_buddy", NULL, NULL, NULL);
+}
diff --git a/tests/meson.build b/tests/meson.build
index b0eab3d6..4ed8e610 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -10,6 +10,7 @@ test_progs = [
 	'device_reset',
 	'drm_import_export',
 	'drm_mm',
+	'drm_buddy',
 	'drm_read',
 	'fbdev',
 	'feature_discovery',

base-commit: 016a7169e66b710a6720ed8ff94815a7e8076541
-- 
2.25.1


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

end of thread, other threads:[~2022-04-11 16:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-11  7:28 [PATCH] tests/drm_buddy: Add drm buddy test cases Arunpravin Paneer Selvam
2022-04-11  7:28 ` Arunpravin Paneer Selvam
2022-04-11  7:28 ` [Intel-gfx] " Arunpravin Paneer Selvam
2022-04-11  7:28 ` [igt-dev] " Arunpravin Paneer Selvam
2022-04-11  8:14 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for " Patchwork
2022-04-11  8:19 ` [igt-dev] ✗ Fi.CI.BAT: " Patchwork
2022-04-11  9:39   ` Matthew Auld
2022-04-11 14:42     ` Vudum, Lakshminarayana
2022-04-11 14:56       ` Matthew Auld
2022-04-11 15:28         ` Vudum, Lakshminarayana
2022-04-11  9:38 ` [PATCH] " Matthew Auld
2022-04-11  9:38   ` Matthew Auld
2022-04-11  9:38   ` [Intel-gfx] " Matthew Auld
2022-04-11  9:38   ` [igt-dev] " Matthew Auld
2022-04-11 14:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-04-11 16:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.