[igt-dev] [RFC PATCH i-g-t 0/4] Basic Suspend/Resume with i915 unload
Gupta, Anshuman
anshuman.gupta at intel.com
Fri Mar 25 04:54:08 UTC 2022
> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Rodrigo
> Vivi
> Sent: Thursday, March 24, 2022 10:55 PM
> To: Tauro, Riana <riana.tauro at intel.com>
> Cc: igt-dev at lists.freedesktop.org
> Subject: Re: [igt-dev] [RFC PATCH i-g-t 0/4] Basic Suspend/Resume with i915
> unload
>
> On Thu, Mar 24, 2022 at 03:48:48PM +0530, Riana Tauro wrote:
> > From: "Tauro, Riana" <riana.tauro at intel.com>
> >
> > Exercise suspend/resume cycles without i915 module to know the system
> > wide health of suspend/resume feature before executing i915 suspend/resume
> tests.
>
> The idea of having a system-wide suspend test is good so if we are failing the
> i915 suspend tests but also failing the system suspend without i915 we can prove
> that i915 is not the culprit.
>
> But it should be totally independent. Having this before all the tests looks like a
> big cheat where you reset all the states before a test.
> Besides increasing the test time a lot.
>
> >
> > Tauro, Riana (4):
> > lib/igt_aux: Suspend/resume without i915 module
>
> plus I don't believe this should be a library, but maybe because I believe this
> should be a single independent test.
Agree here, we may need only one subtest here.
We can add a new subtest in tests/i915_suspend.c.
Thanks,
Anshuman.
>
> > lib/drmtest : add function to call exit handler to unload i915 module
> > tests/i915/i915_suspend: Add suspend/resume cycle without i915 module
> > i915/i915_pm_rpm: Add suspend/resume cycle without i915 module
> >
> > lib/drmtest.c | 17 +++++++++++++++++
> > lib/drmtest.h | 1 +
> > lib/igt_aux.c | 23 +++++++++++++++++++++++
> > lib/igt_aux.h | 3 +++
> > tests/i915/i915_pm_rpm.c | 12 ++++++++++++
> > tests/i915/i915_suspend.c | 39 +++++++++++++++++++++++++++++++++------
> > 6 files changed, 89 insertions(+), 6 deletions(-)
> >
> > --
> > 2.25.1
> >
More information about the igt-dev
mailing list