aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2021-03-23 16:50:25 +0100
committerDaniel Vetter <[email protected]>2021-03-24 17:27:21 +0100
commitc858ffa177163cdca38e86b21a4db6e2aef439bd (patch)
tree204e19f581fe1869faab40074235f056da9a849e /tools/perf/util/trace-event-scripting.c
parentef4985bac521f750d1ddc4da6428b381df1d99c0 (diff)
drm/i915: Lock ww in ucode objects correctly
In the ucode functions, the calls are done before userspace runs, when debugging using debugfs, or when creating semi-permanent mappings; we can safely use the unlocked versions that does the ww dance for us. Because there is no pin_pages_unlocked yet, add it as convenience function. This removes possible lockdep splats about missing resv lock for ucode. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions