diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-06-28 16:53:35 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-12 16:01:06 +0200 |
| commit | 453197b7cc320c5a7fc289bafff028bf6c550ceb (patch) | |
| tree | c9503997870a4a99cebf7dc87f84958115402ecd /tools/perf/scripts/python/bin | |
| parent | 47f600d40bc6bf7bcc1f28f8c7fa3e3a7aa445eb (diff) | |
rust: drm: add AsRef<ParentDevice<Bound>> for Device<Registered>
Implement AsRef<T::ParentDevice<Bound>> for Device<T, Registered>,
providing access to the bound parent bus device for registered DRM
devices.
Since a Device<T, Registered> guarantees that the parent bus device is
bound, the conversion to T::ParentDevice<Bound> is safe.
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-16-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
