summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-10-23 19:23:19 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-24 16:34:17 +0200
commit097dd83763bfe8e8643957c0b90819742fb01cd9 (patch)
treeeba64f4082661f935ee9c5bbf1cdf303b0d9bcb5 /tools/perf/scripts/python/syscall-counts.py
parent5a17514ed924201f1465e4a2f5209bdb192d8dff (diff)
drm/i915: fix S4 suspend while switcheroo state is off
If the device is suspended already through the switcheroo interface we shouldn't suspend it again or resume it after suspend. We have the corresponding check for S3 suspend already, add it for all the other S3 and S4 handlers. Also move the check from i915_resume_early() to i915_resume_legacy(), so that it's done in the high level handler for all PM events. v2: - fix the resume path too, we don't need to special case there DRM_SWITCH_POWER_OFF with the device being enabled (in which case we'd have to disable the device), since that never happens (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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions