summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2026-06-11 22:17:22 +0000
committerAlice Ryhl <aliceryhl@google.com>2026-07-13 15:43:07 +0000
commit727dc02ec6b9c1c30c99d51a4db965f0bb27b12f (patch)
tree8c04f70264ddce00790e4b63f5a6a266d8bd066d /tools/perf/scripts/python/stackcollapse.py
parentb59ec72fec247b90dc26f17c5b1ee9f1e0fe334c (diff)
rust: drm: gpuvm: implement Send and Sync for GpuVaAlloc and GpuVmBo
Moving a GpuVaAlloc or GpuVmBo between threads currently forces drivers to write their own unsafe Send and Sync impls. Provide the markers in the abstraction instead. GpuVaAlloc wraps only uninitialised memory and exposes none of it. GpuVmBo hands out the driver data and GEM object by shared reference and drops them in its deferred put; the DriverGpuVm trait already guarantees both are Send + Sync, so both impls are unconditional. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Link: https://patch.msgid.link/20260611-gpuvm-sync-send-v4-2-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