diff options
author | Thomas Zimmermann <[email protected]> | 2024-02-27 11:14:51 +0100 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2024-03-11 13:33:50 +0100 |
commit | 45a10ad4e66221bf330b93a78a21cfcfc96f4e12 (patch) | |
tree | 497de0771cafabb76df103b2de19a784cb868325 /tools/perf/scripts/python/sctop.py | |
parent | cf91c165a9d882574e487492b4cce3137108a55c (diff) |
drm/msm: Acquire reservation lock in GEM pin/unpin callback
Export msm_gem_pin_pages_locked() and acquire the reservation lock
directly in GEM pin callback. Same for unpin. Prepares for further
changes.
Dma-buf locking semantics require callers to hold the buffer's
reservation lock when invoking the pin and unpin callbacks. Prepare
msm accordingly by pushing locking out of the implementation. A
follow-up patch will fix locking for all GEM code at once.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]> # virtio-gpu
Acked-by: Christian König <[email protected]>
Acked-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions