]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add comments on what stage a given PM handler is called
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:28 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:21 +0000 (16:34 +0200)
commitf1119437232f56def13c0d036ff6d050b0fb3709
tree2e6f67f1c41fea8a50e1af93c76bbb2638eeac17
parent0dc4a70bc327918a1432b64f0474d2ab111a379b
drm/i915: add comments on what stage a given PM handler is called

This will hopefully make it easier to navigate the code without the need
to consult the full PM documentation.

v2:
- add a comment that the freeze handler is also called after rebooting
- add a comment that the thaw handler is also called to recover from
  errors (Ville)
- add the PM event names (PMSG_THAW etc.) for reference (Ville)
- add comments that s0ix can be handled both via system and runtime
  suspend (Ville)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c