diff options
| author | Sami Tolvanen <samitolvanen@google.com> | 2026-06-11 22:17:21 +0000 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-07-13 15:43:07 +0000 |
| commit | b59ec72fec247b90dc26f17c5b1ee9f1e0fe334c (patch) | |
| tree | d629f784bebf9b15ee305ae8133cba2705cb98ed /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9a80ddbf66e4fb549fe1e94858da659619333dda (diff) | |
rust: drm: gpuvm: require Send + Sync for the driver's associated data
DriverGpuVm permitted !Send/!Sync associated data on an abstraction whose
handles are shared and dropped across threads: obtain() runs from many
threads and the VA API performs deferred cross-thread drops. That is
unsound.
Require Send + Sync on the trait and its associated data so the GpuVm and
UniqueRefGpuVm handle impls need no per-impl bounds.
Fixes: 82b78182eacf ("rust: drm: add base GPUVM immediate mode abstraction")
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://patch.msgid.link/20260611-gpuvm-sync-send-v4-1-6c7f4ab2778a@google.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
