Skip to content

drm: tyr: use lifetime-bound IoMem

Danilo Krummrich dri-devel rust-for-linux 1 version Applied

Status from this message: Applied to drm-rust-next. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 2 repliesApplied

Changes in v2 from the cover letter

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

Patches in v1 Applied

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchGary GuoDeborah BrouwerBoris BrezillonEliot CourtneyAlexandre CourbotDaniel Almeida
SeriesR-b T-b T-b R-b R-b R-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] drm: tyr: use lifetime-bound IoMem

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

Signature · 1 line
2.54.0