diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-06-28 16:53:34 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-12 16:01:06 +0200 |
| commit | 47f600d40bc6bf7bcc1f28f8c7fa3e3a7aa445eb (patch) | |
| tree | 1a348d92334342dc246a370a8163af4056eb0564 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 478da53e5b682f0c39a4c6c3eeb09c0131342e8a (diff) | |
rust: drm: return ParentDevice from Device AsRef
Change AsRef for drm::Device to return &T::ParentDevice<device::Normal>
instead of &device::Device, and restrict it to the Normal context.
Device<T, Registered> still gets this through Deref coercion.
This provides access to the typed parent bus device rather than the raw
base device.
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-15-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
