diff options
| author | Chris Wilson <[email protected]> | 2018-02-12 10:24:15 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-02-12 13:33:33 +0000 |
| commit | 3ceda3a4a856336c5c902a6cfbacff2c4effaa21 (patch) | |
| tree | 134d0ef4520aaf90dc5598bfe70c9a2f4e6cc276 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 74d00d28a15c8452f65de0a9477b52d95639cc63 (diff) | |
drm/i915: Hold rpm wakeref for printing the engine's register state
When dumping the engine, we print out the current register values. This
requires the rpm wakeref. If the device is alseep, we can assume the
engine is asleep (and the register state is uninteresting) so skip and
only acquire the rpm wakeref if the device is already awake.
Reported-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions