diff options
author | 2021-03-23 16:50:26 +0100 | |
---|---|---|
committer | 2021-03-24 17:27:21 +0100 | |
commit | e944e3cf5803389ec049b1e78ae39425b4983be7 (patch) | |
tree | c48c84fc322f556b8f3bcb0ebf4516e5ec0d2c06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Lock ww in ucode objects correctly (diff) | |
download | wireguard-linux-e944e3cf5803389ec049b1e78ae39425b4983be7.tar.xz wireguard-linux-e944e3cf5803389ec049b1e78ae39425b4983be7.zip |
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 <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-38-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions