]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: check for GT faults in all resume handlers and driver load time
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:21 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:18 +0000 (16:34 +0200)
commita7525e27e729f044736d8464e3a5f43a83d986b7
tree894049717e6f02d1cab9aec5f4b4a6c2ccd5bd76
parent2e77450cf5e612c882b350ec544027b0a9b5c3c1
drm/i915: check for GT faults in all resume handlers and driver load time

Checking for GT faults is not specific in any way to S4 thaw, so do it
also during S3 resume, S4 restore and driver load time. This allows us to
unify the Sx handlers in an upcoming patch.

v2:
- move the check to intel_uncore_early_sanitize(), so we check at driver
  load time too (Chris)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_uncore.c