[go: up one dir, main page]

Function drm::control::crtc::set [] [src]

pub fn set<T>(
    device: &T,
    handle: Handle,
    fb: FBHandle,
    cons: &[ConHandle],
    position: (u32, u32),
    mode: Option<Mode>
) -> Result<()> where
    T: Device

Attaches a framebuffer to a CRTC's built-in plane, attaches the CRTC to a connector, and sets the CRTC's mode to output the pixel data.