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@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx