diff options
| author | Chris Wilson <[email protected]> | 2019-02-13 15:21:09 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-02-14 21:04:47 +0000 |
| commit | d31c85fc864269ab8e6fb6ed36c87f2fc33a9430 (patch) | |
| tree | 12bbfb4655f15035c96ed37c6fde897a386f49c7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 290248c27c93ad70262b8112595b95ad9d867929 (diff) | |
snd/hda, drm/i915: Track the display_power_status using a cookie
drm/i915 is tracking all wakeref owners with a cookie in order to
identify leaks. To that end, each rpm acquisition ops->get_power is
assigned a cookie which should be passed to ops->put_power to signify
its release (and removal from the list of wakeref owners). As snd/hda is
already using a bool to track current status of display_power extending
that to an unsigned long to hold the boolean cookie is a trivial
extension, and will quell all doubt that snd/hda is the cause of the
device runtime pm leaks.
v2: Keep using the power abstraction for local wakeref tracking.
v3: BUILD_BUG_ON impedance mismatch
Signed-off-by: Chris Wilson <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Jani Nikula <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions