mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Introduce TyrPlatformDriver as a unit struct for the platform::Driver trait implementation and keep TyrPlatformDriverData for the private driver data. Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: Deborah Brouwer <deborah.brouwer@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Eliot Courtney <ecourtney@nvidia.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260529000106.2257996-2-dakr@kernel.org Signed-off-by: Alice Ryhl <aliceryhl@google.com>
23 lines
513 B
Rust
23 lines
513 B
Rust
// SPDX-License-Identifier: GPL-2.0 or MIT
|
|
|
|
//! Arm Mali Tyr DRM driver.
|
|
//!
|
|
//! The name "Tyr" is inspired by Norse mythology, reflecting Arm's tradition of
|
|
//! naming their GPUs after Nordic mythological figures and places.
|
|
|
|
use crate::driver::TyrPlatformDriver;
|
|
|
|
mod driver;
|
|
mod file;
|
|
mod gem;
|
|
mod gpu;
|
|
mod regs;
|
|
|
|
kernel::module_platform_driver! {
|
|
type: TyrPlatformDriver,
|
|
name: "tyr",
|
|
authors: ["The Tyr driver authors"],
|
|
description: "Arm Mali Tyr DRM driver",
|
|
license: "Dual MIT/GPL",
|
|
}
|