diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-10-15 17:18:37 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-10-22 22:55:10 +0200 |
commit | 88ced317fb09b826b85a0bccb13ec7e0014cf207 (patch) | |
tree | d821af9c0f55c877063a76743c377e4a098a2608 /virt | |
parent | e1290a86d3003fc9c0a5555cb4887c7297413fb2 (diff) |
rust: drm: add device abstraction
Implement the abstraction for a `struct drm_device`.
A `drm::device::Device` creates a static const `struct drm_driver` filled
with the data from the `drm::drv::Driver` trait implementation of the
actual driver creating the `drm::device::Device`.
Co-developed-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions