[PATCH i-g-t] tests/intel/xe_live_ktest: Add mocs kunit test

janga.rahul.kumar at intel.com janga.rahul.kumar at intel.com
Tue Jan 9 09:04:22 UTC 2024


From: Janga Rahul Kumar <janga.rahul.kumar at intel.com>

Enable mocs kunit execution from IGT.

Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
---
 tests/intel/xe_live_ktest.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/intel/xe_live_ktest.c b/tests/intel/xe_live_ktest.c
index 7170a017c..5f5f1dff7 100644
--- a/tests/intel/xe_live_ktest.c
+++ b/tests/intel/xe_live_ktest.c
@@ -24,6 +24,11 @@
  *	Kernel dynamic selftests to check if page table migrations
  *	are working properly.
  * Functionality: migrate
+ *
+ * SUBTEST: mocs
+ * Description:
+ *	Kernel dynamic selftests to check mocs configuration.
+ * Functionality: mocs
  */
 
 struct kunit_tests {
@@ -35,6 +40,7 @@ static const struct kunit_tests live_tests[] = {
 	{ "xe_bo_test",		"bo" },
 	{ "xe_dma_buf_test",	"dmabuf" },
 	{ "xe_migrate_test",	"migrate" },
+	{ "xe_mocs_test",	"mocs" },
 };
 
 igt_main
-- 
2.25.1



More information about the igt-dev mailing list