diff options
author | Christian König <[email protected]> | 2022-07-15 09:57:22 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2022-07-18 09:18:53 +0200 |
commit | dbd0da2453c694f2f74651834d90fb280b57f151 (patch) | |
tree | 0118d6aa78d7d7425ef58a031f45344e32f7cde8 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 9b04369b060fd4885f728b7a4ab4851ffb1abb64 (diff) |
drm/ttm: fix locking in vmap/vunmap TTM GEM helpers
I've stumbled over this while reviewing patches for DMA-buf and it looks
like we completely messed the locking up here.
In general most TTM function should only be called while holding the
appropriate BO resv lock. Without this we could break the internal
buffer object state here.
Only compile tested!
Signed-off-by: Christian König <[email protected]>
Fixes: 43676605f890 ("drm/ttm: Add vmap/vunmap to TTM and TTM GEM helpers")
Cc: [email protected]
Reviewed-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions