diff options
| author | Asahi Lina <[email protected]> | 2025-04-10 23:55:23 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-24 12:00:10 +0000 |
| commit | 1e4b8896c0f3cb305a32870e1d8624f1155072d5 (patch) | |
| tree | 842570e25acc47731100c077243a4656e01b4818 /rust/helpers/helpers.c | |
| parent | rust: drm: add driver abstractions (diff) | |
| download | kernel-1e4b8896c0f3cb305a32870e1d8624f1155072d5.tar.gz kernel-1e4b8896c0f3cb305a32870e1d8624f1155072d5.zip | |
rust: drm: add device abstraction
Implement the abstraction for a `struct drm_device`.
A `drm::Device` creates a static const `struct drm_driver` filled with
the data from the `drm::Driver` trait implementation of the actual
driver creating the `drm::Device`.
Reviewed-by: Maxime Ripard <[email protected]>
Signed-off-by: Asahi Lina <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Rewrite of drm::Device
* full rewrite of the drm::Device abstraction using the subclassing
pattern
* original source archive: http://archive.today/5NxBo
- Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
