Dmitry Osipenko 39ce252918 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 <daniel@ffwll.ch>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221110201349.351294-3-dmitry.osipenko@collabora.com
2022-11-11 23:49:47 +03:00
..
2021-10-07 11:04:05 -07:00
2022-04-08 10:36:11 +02:00
2022-08-10 13:11:17 +03:00
2022-10-27 12:37:04 -07:00
2022-06-04 14:04:27 -07:00
2022-08-25 12:50:40 -07:00
2022-08-25 12:50:40 -07:00
2022-09-09 16:50:33 +03:00
2022-07-17 14:53:47 -04:00