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

Ch, Sai Gowtham sai.gowtham.ch at intel.com
Tue Jan 9 09:30:08 UTC 2024



>-----Original Message-----
>From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of
>janga.rahul.kumar at intel.com
>Sent: Tuesday, January 9, 2024 2:34 PM
>To: igt-dev at lists.freedesktop.org; Gandi, Ramadevi <ramadevi.gandi at intel.com>;
>Kumar, Janga Rahul <janga.rahul.kumar at intel.com>
>Subject: [PATCH i-g-t] tests/intel/xe_live_ktest: Add mocs kunit test
>
>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" },
> };
>
Looks good to me.
Reviewed-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> igt_main
>--
>2.25.1



More information about the igt-dev mailing list