aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-02-12 10:24:15 +0000
committerChris Wilson <[email protected]>2018-02-12 13:33:33 +0000
commit3ceda3a4a856336c5c902a6cfbacff2c4effaa21 (patch)
tree134d0ef4520aaf90dc5598bfe70c9a2f4e6cc276 /tools/perf/scripts/python
parent74d00d28a15c8452f65de0a9477b52d95639cc63 (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')
0 files changed, 0 insertions, 0 deletions