drm_ffi::mode

Function get_resources

source
pub fn get_resources(
    fd: BorrowedFd<'_>,
    fbs: Option<&mut Vec<u32>>,
    crtcs: Option<&mut Vec<u32>>,
    connectors: Option<&mut Vec<u32>>,
    encoders: Option<&mut Vec<u32>>,
) -> Result<drm_mode_card_res>
Expand description

Enumerate most card resources.