Rust for Linux List
 help / color / mirror / Atom feed
* [PATCH 0/2] drm: tyr: use lifetime-bound IoMem
@ 2026-05-29  0:00 Danilo Krummrich
  2026-05-29  0:00 ` [PATCH v2 1/2] drm/tyr: separate driver type from driver data Danilo Krummrich
  2026-05-29  0:00 ` [PATCH v2 2/2] drm/tyr: use IoMem directly instead of Devres Danilo Krummrich
  0 siblings, 2 replies; 6+ messages in thread
From: Danilo Krummrich @ 2026-05-29  0:00 UTC (permalink / raw)
  To: dakr, aliceryhl, daniel.almeida, boris.brezillon, deborah.brouwer,
	gary
  Cc: dri-devel, rust-for-linux

Adopt the driver core lifetime infrastructure for tyr.

Separate the driver type from the driver data and use lifetime-bound
IoMem directly in probe instead of wrapping it in Devres and Arc,
simplifying register access.

Changes in v2:
  - Don't return Result from GpuInfo::new()
  - Use "drm/tyr:" commit message prefix

Danilo Krummrich (2):
  drm/tyr: separate driver type from driver data
  drm/tyr: use IoMem directly instead of Devres

 drivers/gpu/drm/tyr/driver.rs | 29 ++++++++++++-----------------
 drivers/gpu/drm/tyr/gpu.rs    | 17 +++++------------
 drivers/gpu/drm/tyr/tyr.rs    |  4 ++--
 3 files changed, 19 insertions(+), 31 deletions(-)


base-commit: a3e50e7279996cd987001fd8a3db36e72665f8f7
-- 
2.54.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-01  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29  0:00 [PATCH 0/2] drm: tyr: use lifetime-bound IoMem Danilo Krummrich
2026-05-29  0:00 ` [PATCH v2 1/2] drm/tyr: separate driver type from driver data Danilo Krummrich
2026-05-29  1:57   ` Alexandre Courbot
2026-05-29  0:00 ` [PATCH v2 2/2] drm/tyr: use IoMem directly instead of Devres Danilo Krummrich
2026-06-01  9:35   ` Alice Ryhl
2026-06-01  9:54     ` Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox