linux/drivers/gpu/drm/nova
Danilo Krummrich 354a8f8b09 drm: nova: Use drm::Device<Registered> to access the parent bus device
The get_param ioctl needs access to the parent auxiliary device. Since
ioctl handlers run inside a RegistrationGuard, accept
&NovaDevice<Registered> to obtain &auxiliary::Device<Bound> via as_ref()
directly. This removes the need for drm::Device data, hence set it to
().

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-20-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-07-12 16:06:43 +02:00
..
driver.rs drm: nova: Use drm::Device<Registered> to access the parent bus device 2026-07-12 16:06:43 +02:00
file.rs drm: nova: Use drm::Device<Registered> to access the parent bus device 2026-07-12 16:06:43 +02:00
gem.rs rust: drm: restrict AlwaysRefCounted to Normal GEM Object context 2026-07-12 15:56:52 +02:00
Kconfig gpu: nova: Use module names consistently 2026-05-09 23:51:49 +02:00
Makefile gpu: nova: fix rust-analyzer generation 2026-07-03 23:27:39 +02:00
nova.rs gpu: nova, nova-core: Rename to kebab-case 2026-05-09 23:50:48 +02:00