diff options
author | Maarten Lankhorst <[email protected]> | 2021-03-23 16:50:26 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-03-24 17:27:21 +0100 |
commit | e944e3cf5803389ec049b1e78ae39425b4983be7 (patch) | |
tree | c48c84fc322f556b8f3bcb0ebf4516e5ec0d2c06 /tools/perf/util/trace-event-scripting.c | |
parent | c858ffa177163cdca38e86b21a4db6e2aef439bd (diff) |
drm/i915: Add ww locking to dma-buf ops, v2.
vmap is using pin_pages, but needs to use ww locking,
add pin_pages_unlocked to correctly lock the mapping.
Also add ww locking to begin/end cpu access.
Changes since v1:
- Fix i915_gem_map_dma_buf by using pin_pages_unlocked().
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