drm_mode_getcrtc(9)
π NAME π
drm_mode_getcrtc β get CRTC configuration. This is the drm_mode_getcrtc(9) page from the Kernel API Manual, and bestie, it is lowkey giving ioctl-core. β¨
π SYNOPSIS π
int drm_mode_getcrtc (struct drm_device *dev , void *data , struct drm_file *file_priv );
π ARGUMENTS π
devβ the drm device for the ioctl. It's the main character device energy. πdataβ the data pointer for the ioctl. Just a pointer doing pointer things. π«Άfile_privβ the drm file for the ioctl call. Your file-priv bestie. π
πΈ DESCRIPTION πΈ
Okay so this function constructs a CRTC configuration structure to return to the user. That's the whole assignment. π
It's called by the user via ioctl. No cap, that's literally the call flow. β¨
π RETURN π
Zero on success, negative errno on failure. Periodt. π
π¦ SEE ALSO π¦
Go stalk these icons, bestie:
- Kernel file
./drivers/gpu/drm/drm_crtc.c overview(9) drm_crtc_from_index(9)standard CRTC properties(9)drm_crtc_init_with_planes(9)drmm_crtc_init_with_planes(9)drm_crtc_cleanup(9)drm_mode_set_config_internal(9)drm_crtc_check_viewport(9)drm_mode_setcrtc(9)drm_crtc_create_scaling_filter_property(9)drm_crtc_in_clone_mode(9)
Okay bye bestie! Source/version: ./drivers/gpu/drm; date: October 2026; page: drm_mode_getcrtc(9). πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms