From: Daniel Vetter <daniel@ffwll.ch>
To: Imre Deak <imre.deak@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH igt 1/2] lib/igt_aux: Add support for various system suspend/resume options
Date: Thu, 13 Oct 2016 16:02:20 +0200 [thread overview]
Message-ID: <20161013140220.GW20761@phenom.ffwll.local> (raw)
In-Reply-To: <1475658293-6636-1-git-send-email-imre.deak@intel.com>
On Wed, Oct 05, 2016 at 12:04:52PM +0300, Imre Deak wrote:
> /* suspend/hibernate and auto-resume system */
> -void igt_system_suspend_autoresume(void);
> -void igt_system_hibernate_autoresume(void);
> +
> +enum igt_suspend_state {
> + SUSPEND_STATE_FREEZE,
> + SUSPEND_STATE_MEM,
> + SUSPEND_STATE_DISK,
> +
> + SUSPEND_STATE_NUM,
> +};
> +
> +enum igt_suspend_test {
> + SUSPEND_TEST_NONE,
> + SUSPEND_TEST_FREEZER,
> + SUSPEND_TEST_DEVICES,
> + SUSPEND_TEST_PLATFORM,
> + SUSPEND_TEST_PROCESSORS,
> + SUSPEND_TEST_CORE,
> +
> + SUSPEND_TEST_NUM,
> +};
Please document them enums too. And link from the functions to the enums
(and make sure it works):
$ ./autogen.sh --enable-gtk-doc
$ make
Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2016-10-13 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 9:04 [PATCH igt 1/2] lib/igt_aux: Add support for various system suspend/resume options Imre Deak
2016-10-05 9:04 ` [PATCH igt 2/2] tests/gem_exec_suspend: Add basic s4-devices subtest Imre Deak
2016-10-05 9:22 ` Chris Wilson
2016-10-05 9:34 ` Imre Deak
2016-10-13 14:02 ` Daniel Vetter [this message]
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=20161013140220.GW20761@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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.