summaryrefslogtreecommitdiff
path: root/tests/drm_import_export.c
diff options
context:
space:
mode:
authorPriyanka Dandamudi <priyanka.dandamudi@intel.com>2022-03-24 15:57:49 +0530
committerZbigniew KempczyƄski <zbigniew.kempczynski@intel.com>2022-04-29 09:49:13 +0200
commit50d8c9f6de5e2336ce57c9e4fe70f70e1095be34 (patch)
tree56be0aef1806f94b1690a1e3cf3feb4ad6005740 /tests/drm_import_export.c
parent9a73a9ce490cf036905041012c1df448f0c1e1ed (diff)
tests/drm_import_export: Added test description for test case
Added test description to all the test and subtests. v2: Small modifications. Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Melkaveri Arjun <arjun.melkaveri@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'tests/drm_import_export.c')
-rw-r--r--tests/drm_import_export.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/drm_import_export.c b/tests/drm_import_export.c
index 65cac60d..06245e8b 100644
--- a/tests/drm_import_export.c
+++ b/tests/drm_import_export.c
@@ -43,6 +43,7 @@
#include "i915/gem.h"
#define DURATION 10
+IGT_TEST_DESCRIPTION("Basic check to verify the behaviour of libdrm bo for prime/flink");
int fd;
drm_intel_bufmgr *bufmgr;
@@ -250,16 +251,22 @@ igt_main {
drm_intel_bufmgr_gem_enable_reuse(bufmgr);
}
+ igt_describe("Verify whether the behaviour of libdrm"
+ " is consistent for flink or not.");
igt_subtest("import-close-race-flink") {
use_flink = true;
test_import_close_race();
}
+ igt_describe("Verify whether the behaviour of libdrm"
+ " is consistent for prime or not.");
igt_subtest("import-close-race-prime") {
use_flink = false;
test_import_close_race();
}
+ igt_describe("Multithreaded test to validate the (lack of) locking in"
+ " the flink code in libdrm.");
igt_subtest("flink") {
use_flink = true;
@@ -274,6 +281,8 @@ igt_main {
pthread_join(test_thread_id4, NULL);
}
+ igt_describe("Multithreaded test to validate the (lack of) locking in"
+ " the prime code in libdrm.");
igt_subtest("prime") {
use_flink = false;