diff options
| author | Rodrigo Vivi <[email protected]> | 2024-03-01 13:05:25 -0500 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-03-04 12:47:10 -0500 |
| commit | 5c9da9fc64a1a6745175c7e77c3a0021a32560a5 (patch) | |
| tree | 1f0eea1ada3bfe3335aa319c4655e5b63867e393 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d6b4137822a1f8d1a6676c18dff551b394557b65 (diff) | |
drm/xe: Convert xe_pm_runtime_{get, put} to void and protect from recursion
With mem_access going away and pm_runtime getting called instead,
we need to protect these against recursions.
The put is asynchronous so there's no need to block it. However, for a
proper balance, we need to ensure that the references are taken and
restored regardless of the flow. So, let's convert them all to void and
use some direct linux/pm_runtime functions.
v2: Rebased and update commit message (Matt).
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions