diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-06-28 16:53:38 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-12 16:06:43 +0200 |
| commit | 3ba210061c2960380007e6475d1c1119216f5c83 (patch) | |
| tree | 0f7c8c770cc4ae4897ccc991a426bd149e3456f0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e15b88223dc1becdc8c0d3d88795c5eb06518347 (diff) | |
rust: drm: Pass registration data to ioctl handlers
Pass registration data to ioctl handlers via
drm::Device<Registered>::registration_data_with(). The closure's HRTB
ties the lifetime to the closure scope, and the pointer cast shortens it
from 'static internally. The reference is valid for the duration of the
drm_dev_enter/exit critical section held by RegistrationGuard.
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260628145406.2107056-19-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
