diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-01-17 14:48:31 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-01-18 07:33:43 +0000 |
commit | 6ddbb12e3f54e491abd1660d34da255e462b0aa2 (patch) | |
tree | a90ec33246fa25f105ff60d31fc5fe729fe55841 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1b4bd5c4a663663e8dd4b7b1c5f8565626eb068b (diff) |
drm/i915: Fix wakeref cookie handling in debugfs/i915_forcewake_user
To avoid a false positive of a leaked wakeref, we can store the cookie
in file->private_data and use it in intel_runtime_pm_put.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190117144831.13156-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions