From: "Gupta, Anshuman" <anshuman.gupta@intel.com>
To: "Tauro, Riana" <riana.tauro@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/i915/i915_suspend: Add system-suspend-without-i915 subtest
Date: Mon, 28 Mar 2022 07:44:12 +0000 [thread overview]
Message-ID: <6ccadea06dc040ec9402e73b1e6153c9@intel.com> (raw)
In-Reply-To: <20220328064722.127301-2-riana.tauro@intel.com>
> -----Original Message-----
> From: Tauro, Riana <riana.tauro@intel.com>
> Sent: Monday, March 28, 2022 12:17 PM
> To: igt-dev@lists.freedesktop.org
> Cc: Tauro, Riana <riana.tauro@intel.com>; Gupta, Anshuman
> <anshuman.gupta@intel.com>; Ewins, Jon <jon.ewins@intel.com>; Dixit,
> Ashutosh <ashutosh.dixit@intel.com>
> Subject: [PATCH i-g-t 1/2] tests/i915/i915_suspend: Add system-suspend-
> without-i915 subtest
>
> From: "Tauro, Riana" <riana.tauro@intel.com>
>
> Add a new subtest system-suspend-without-i915 to exercise suspend/resume
> cycle without i915 module to know the system wide health of suspend/resume
> feature.
> This test will be part of CI fast-feedback test list.
>
> v2: Addressing review comments
Please mention the individual addressed comment , so that it is easy for incremental review.
>
> Signed-off-by: Tauro, Riana <riana.tauro@intel.com>
> ---
> tests/i915/i915_suspend.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/tests/i915/i915_suspend.c b/tests/i915/i915_suspend.c index
> da27ce09..a610a16d 100644
> --- a/tests/i915/i915_suspend.c
> +++ b/tests/i915/i915_suspend.c
> @@ -41,6 +41,7 @@
> #include "i915/gem.h"
> #include "i915/gem_create.h"
> #include "igt.h"
> +#include "igt_kmod.h"
> #include "igt_device.h"
>
> #define OBJECT_SIZE (16*1024*1024)
> @@ -202,10 +203,25 @@ test_forcewake(int fd, bool hibernate)
> close (fw_fd);
> }
>
> +static void
> +test_suspend_without_i915(void)
> +{
We need one more log here "Unloading i915".
> + igt_i915_driver_unload();
Add an assertion with igt_assert(igt_i915_driver_unload() == 0);
With all of comment addressed.
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Thanks,
Anshuman Gupta.
> +
> + igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
> SUSPEND_TEST_NONE);
> +
> + igt_kmsg(KMSG_INFO "Re-loading i915 \n");
> + igt_assert_eq(igt_i915_driver_load(NULL), 0); }
> +
> int fd;
>
> igt_main
> {
> + igt_describe("Validate system suspend cycle without i915 module");
> + igt_subtest("system-suspend-without-i915")
> + test_suspend_without_i915();
> +
> igt_fixture
> fd = drm_open_driver(DRIVER_INTEL);
>
> --
> 2.25.1
next prev parent reply other threads:[~2022-03-28 7:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-28 6:47 [igt-dev] [PATCH i-g-t 0/2] Basic Suspend/Resume with i915 unload Riana Tauro
2022-03-28 6:47 ` [igt-dev] [PATCH i-g-t 1/2] tests/i915/i915_suspend: Add system-suspend-without-i915 subtest Riana Tauro
2022-03-28 7:44 ` Gupta, Anshuman [this message]
2022-03-28 10:13 ` [igt-dev] [PATCH i-g-t v3 " Riana Tauro
2022-03-29 20:50 ` Dixit, Ashutosh
2022-03-30 5:11 ` [igt-dev] [PATCH i-g-t v4 " Riana Tauro
2022-03-28 6:47 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel-ci/fast-feedback: Add system-suspend-without-i915 subtest into fast-feedback list Riana Tauro
2022-03-28 7:18 ` Gupta, Anshuman
2022-03-30 6:58 ` Petri Latvala
2022-03-28 7:32 ` [igt-dev] ✓ Fi.CI.BAT: success for Basic Suspend/Resume with i915 unload (rev3) Patchwork
2022-03-28 8:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-03-28 12:21 ` [igt-dev] ✓ Fi.CI.BAT: success for Basic Suspend/Resume with i915 unload (rev4) Patchwork
2022-03-28 13:58 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-03-30 5:48 ` [igt-dev] ✗ GitLab.Pipeline: warning for Basic Suspend/Resume with i915 unload (rev5) Patchwork
2022-03-30 6:22 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-03-30 7:32 ` [igt-dev] ✓ Fi.CI.IGT: " 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=6ccadea06dc040ec9402e73b1e6153c9@intel.com \
--to=anshuman.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=riana.tauro@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.