diff options
author | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2022-04-12 00:20:42 +0530 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-04-12 09:18:43 +0100 |
commit | a3885810ccc0ce9e6552a20c910a0a322eca466c (patch) | |
tree | 361928a0ab4c47572ce5b455aa9419f65f5f34d7 /tests/drm_buddy.c | |
parent | 33a5adf20dc435cc2c6dd584caa3674c89032762 (diff) |
tests/drm_buddy: Add drm buddy test cases
Add a set of drm buddy test cases to validate the
drm/drm_buddy.c memory allocator.
v2: sorted in alphabetical order
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests/drm_buddy.c')
-rw-r--r-- | tests/drm_buddy.c | 14 |
1 files changed, 14 insertions, 0 deletions
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); +} |