]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable output polling during S4 thaw
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:22 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:18 +0000 (16:34 +0200)
commitde3c89b98a4e7e1e3626e2552143e0a2e5862c99
treea8882c99ccdb3773a64d593e504fc71647ada380
parenta7525e27e729f044736d8464e3a5f43a83d986b7
drm/i915: enable output polling during S4 thaw

To avoid processing hotplug events we disable connector polling for the
duration of S3 suspend. We also disable it for S4 freeze, and keep it
disabled after S4 thaw. This won't prevent though hotplug processing,
since we re-enable interrupts anyway. There is also no need to prevent
it at that time, since we reinitialize everything during thaw, so the
device is in a consistent state. So to simplify things enable polling
during thaw, which will allow us to handle S4 thaw the same way as S3
resume in an upcoming patch.

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