diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-20 17:39:19 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-25 21:59:36 +0000 |
| commit | 552c5f7e628d6f0ebaa460db82934fc8da3073e9 (patch) | |
| tree | 47de5feebb7741abadba9d70bb4ba2afbaeadd2b /tools/i915-perf/i915_perf_control.c | |
| parent | 68f01edfa6279230b4730babc4463c9b7058b767 (diff) | |
i915/i915_pm_rpm: Only check for suspend failures after each debugfs entry
Since we check before and then after each debugfs entry, we do not need
to check before each time as well. We will error out as soon as it does
fail, at all other times we know the system to be idle.
No impact on runtime for glk (which apparently is one of the better
behaving systems).
v2: Assert that we are currently suspended prior to opening the file,
i.e. that nothing else is waking up the device behind our backs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Martin Peres <martin.peres@linux.intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'tools/i915-perf/i915_perf_control.c')
0 files changed, 0 insertions, 0 deletions
