From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: Nirmoy Das <nirmoy.das@intel.com>, intel-xe@lists.freedesktop.org
Cc: Matthew Auld <matthew.auld@intel.com>
Subject: Re: [PATCH v2] drm/xe/tests: Move shrink test out of xe_bo
Date: Wed, 18 Dec 2024 14:59:02 +0100 [thread overview]
Message-ID: <26160d0fb20982b110c91bf607f6886feb8ad8a9.camel@linux.intel.com> (raw)
In-Reply-To: <20241218141447.2528530-1-nirmoy.das@intel.com>
On Wed, 2024-12-18 at 15:14 +0100, Nirmoy Das wrote:
> The subtest typically has an execution time long enough to motivate a
> separate test so that it can be easily excluded if needed.
>
> v2: reword commit message(Thomas)
>
> Cc: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> ---
> drivers/gpu/drm/xe/tests/xe_bo.c | 16 ++++++++++++++--
> drivers/gpu/drm/xe/tests/xe_live_test_mod.c | 2 ++
> 2 files changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c
> b/drivers/gpu/drm/xe/tests/xe_bo.c
> index c9ec7a313c6b..405ff904153e 100644
> --- a/drivers/gpu/drm/xe/tests/xe_bo.c
> +++ b/drivers/gpu/drm/xe/tests/xe_bo.c
> @@ -606,8 +606,6 @@ static void xe_bo_shrink_kunit(struct kunit
> *test)
> static struct kunit_case xe_bo_tests[] = {
> KUNIT_CASE_PARAM(xe_ccs_migrate_kunit,
> xe_pci_live_device_gen_param),
> KUNIT_CASE_PARAM(xe_bo_evict_kunit,
> xe_pci_live_device_gen_param),
> - KUNIT_CASE_PARAM_ATTR(xe_bo_shrink_kunit,
> xe_pci_live_device_gen_param,
> - {.speed = KUNIT_SPEED_SLOW}),
> {}
> };
>
> @@ -618,3 +616,17 @@ struct kunit_suite xe_bo_test_suite = {
> .init = xe_kunit_helper_xe_device_live_test_init,
> };
> EXPORT_SYMBOL_IF_KUNIT(xe_bo_test_suite);
> +
> +static struct kunit_case xe_bo_shrink_test[] = {
> + KUNIT_CASE_PARAM_ATTR(xe_bo_shrink_kunit,
> xe_pci_live_device_gen_param,
> + {.speed = KUNIT_SPEED_SLOW}),
> + {}
> +};
> +
> +VISIBLE_IF_KUNIT
> +struct kunit_suite xe_bo_shrink_test_suite = {
> + .name = "xe_bo_shrink",
> + .test_cases = xe_bo_shrink_test,
> + .init = xe_kunit_helper_xe_device_live_test_init,
> +};
> +EXPORT_SYMBOL_IF_KUNIT(xe_bo_shrink_test_suite);
> diff --git a/drivers/gpu/drm/xe/tests/xe_live_test_mod.c
> b/drivers/gpu/drm/xe/tests/xe_live_test_mod.c
> index 0d36ab864ec0..81277c77016d 100644
> --- a/drivers/gpu/drm/xe/tests/xe_live_test_mod.c
> +++ b/drivers/gpu/drm/xe/tests/xe_live_test_mod.c
> @@ -6,11 +6,13 @@
> #include <kunit/test.h>
>
> extern struct kunit_suite xe_bo_test_suite;
> +extern struct kunit_suite xe_bo_shrink_test_suite;
> extern struct kunit_suite xe_dma_buf_test_suite;
> extern struct kunit_suite xe_migrate_test_suite;
> extern struct kunit_suite xe_mocs_test_suite;
>
> kunit_test_suite(xe_bo_test_suite);
> +kunit_test_suite(xe_bo_shrink_test_suite);
> kunit_test_suite(xe_dma_buf_test_suite);
> kunit_test_suite(xe_migrate_test_suite);
> kunit_test_suite(xe_mocs_test_suite);
next prev parent reply other threads:[~2024-12-18 13:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 14:14 [PATCH v2] drm/xe/tests: Move shrink test out of xe_bo Nirmoy Das
2024-12-18 13:59 ` Thomas Hellström [this message]
2024-12-18 16:37 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-18 16:37 ` ✗ CI.checkpatch: warning " Patchwork
2024-12-18 16:39 ` ✓ CI.KUnit: success " Patchwork
2024-12-18 16:57 ` ✓ CI.Build: " Patchwork
2024-12-18 16:59 ` ✓ CI.Hooks: " Patchwork
2024-12-18 17:00 ` ✓ CI.checksparse: " Patchwork
2024-12-18 17:53 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-19 6:39 ` ✗ Xe.CI.Full: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26160d0fb20982b110c91bf607f6886feb8ad8a9.camel@linux.intel.com \
--to=thomas.hellstrom@linux.intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
--cc=nirmoy.das@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.