diff options
author | Thomas Zimmermann <[email protected]> | 2024-02-27 11:14:55 +0100 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2024-03-11 13:33:50 +0100 |
commit | 94567420208600bf39ea90a9677529e3367626d3 (patch) | |
tree | 3f169fbe37635a2db520deb2502fde6596aa7f29 /tools/perf/scripts/python/sched-migration.py | |
parent | b170783a8fa9ef7711a2558fb09a7c667577b48b (diff) |
drm/qxl: Acquire reservation lock in GEM pin/unpin callbacks
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
qxl 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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions