Watch
1
0
Fork
You've already forked smithay
0
smithay/smithay-drm-extras
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-09 12:54:11 +02:00
..
examples Run cargo +nightly fmt --all 2026-04-09 12:54:11 +02:00
src Run cargo +nightly fmt --all 2026-04-09 12:54:11 +02:00
Cargo.toml Use 2024 Rust edition 2026-04-09 12:54:11 +02:00
LICENSE DRM Extras license 2024-01-29 22:56:38 +01:00
README.md fix: typos 2026-02-12 12:48:05 +01:00

Smithay DRM Extras

This crate contains some extra abstractions and helpers over DRM

  • display_info module is responsible for extraction of information from DRM connectors (model and manufacturer)
  • drm_scanner module contains helpers for detecting connector connected and disconnected events as well as mapping crtc to them.
    • ConnectorScanner is responsible for tracking connected/disconnected events.
    • CrtcMapper trait and SimpleCrtcMapper are meant for mapping crtc to connector.
    • DrmScanner<CrtcMapper> combines two above into single abstraction. If it does not fit your needs you can always drop down to using ConnectScanner alone.