diff options
| author | Asahi Lina <lina@asahilina.net> | 2025-03-18 16:22:35 -0300 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-05-13 16:27:51 -0400 |
| commit | 64a8d0aa55e98bf2c9b7e1a3df3e8acbfecba619 (patch) | |
| tree | 99e07b5fc21237ee28507843e582ac9ef01f3090 /tools/perf/scripts/python | |
| parent | e33c3f4d935454a6f8a18a5913189f060b9140ef (diff) | |
| download | linux-64a8d0aa55e98bf2c9b7e1a3df3e8acbfecba619.tar.gz linux-64a8d0aa55e98bf2c9b7e1a3df3e8acbfecba619.zip | |
drm/shmem-helper: Add lockdep asserts to vmap/vunmap
Since commit 21aa27ddc582 ("drm/shmem-helper: Switch to reservation
lock"), the drm_gem_shmem_vmap and drm_gem_shmem_vunmap functions
require that the caller holds the DMA reservation lock for the object.
Add lockdep assertions to help validate this.
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250318-drm-gem-shmem-v1-1-64b96511a84f@collabora.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
