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
..
2022-04-25 11:17:45 +02:00
2022-04-25 11:17:45 +02:00
2022-07-12 16:50:05 +10:00
2021-08-10 17:04:05 +02:00
2021-08-10 14:44:31 +02:00
2022-02-24 17:03:08 +01:00
2022-07-12 16:50:05 +10:00
2021-12-16 14:07:06 +01:00
2022-07-08 16:27:52 +02:00
2021-08-10 17:04:05 +02:00
2022-07-08 16:27:52 +02:00