]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tyr: Clarify driver/device type names
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Tue, 24 Feb 2026 00:23:14 +0000 (16:23 -0800)
committerAlice Ryhl <aliceryhl@google.com>
Mon, 2 Mar 2026 16:35:19 +0000 (16:35 +0000)
commit15da5bc9f3adab7242867db0251fe451ac3ddb72
treefa5894d13de6a0beb4e994049db5512bb8f800bd
parent6ca4bcc23ae86a1330e5347ae9eb6c5d0cb690ab
drm/tyr: Clarify driver/device type names

Currently the `TyrDriver` struct implements both `platform::Driver` and
`drm::Driver`. For clarity, split up these two roles:
 - Introduce `TyrPlatformDriverData` to implement `platform::Driver`, and
 - Introduce `TyrDrmDriver` to implement `drm::Driver`.

Also rename other variables to reflect their roles in the DRM context:
- Rename `TyrDevice` to `TyrDrmDevice`
- Rename `TyrData` to `TyrDrmDeviceData`
- Rename `File` to `TyrDrmFileData`
- Rename `DrmFile` to `TyrDrmFile`

No functional changes are intended.

Co-developed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260224002314.344675-1-deborah.brouwer@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
drivers/gpu/drm/tyr/driver.rs
drivers/gpu/drm/tyr/file.rs
drivers/gpu/drm/tyr/gem.rs
drivers/gpu/drm/tyr/tyr.rs