diff options
author | Dmitry Osipenko <[email protected]> | 2022-11-10 23:13:45 +0300 |
---|---|---|
committer | Dmitry Osipenko <[email protected]> | 2022-11-11 23:49:47 +0300 |
commit | 39ce252918712180f5a64853920a320981dac94b (patch) | |
tree | 276027d84b0c6b8e65c8c3917068279b08561707 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8526e973647e1bf77dadf894a36aefd4fd1b8a3f (diff) |
drm: Assert held reservation lock for dma-buf mmapping
When userspace mmaps dma-buf's fd, the dma-buf reservation lock must be
held. Add locking sanity checks to the dma-buf mmaping callbacks of DRM
drivers to ensure that the locking assumptions won't regress in future.
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions