drm_mode_getcrtc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


Okay bye bestie! Source/version: ./drivers/gpu/drm; date: October 2026; page: drm_mode_getcrtc(9). πŸ’–βœ¨

πŸ“¦ where this page comes from