drm_mode_dirtyfb_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is drm_mode_dirtyfb_ioctl(9) from the Kernel API Manual β€” the page all about β€œflush frontbuffer rendering on an FB” πŸ’…βœ¨

🌸 NAME 🌸

drm_mode_dirtyfb_ioctl β€” flush frontbuffer rendering on an FB πŸ–ΌοΈ

✨ SYNOPSIS ✨

int drm_mode_dirtyfb_ioctl (struct drm_device *dev , void *data , struct
       drm_file *file_priv );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” drm device for the ioctl
  • data β€” data pointer for the ioctl
  • file_priv β€” drm file for the ioctl call

πŸ’– DESCRIPTION πŸ’–

Lookup the FB and flush out the damaged area supplied by userspace as a clip rectangle list. Generic userspace which does frontbuffer rendering must call this ioctl to flush out the changes on manual-update display outputs, e.g. usb display-link, mipi manual update panels or edp panel self refresh modes.

Modesetting drivers which always update the frontbuffer do not need to implement the corresponding drm_framebuffer_funcs.dirty callback.

Called by the user via ioctl. πŸ“ž

πŸ”₯ RETURN πŸ”₯

Zero on success, negative errno on failure. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

mwah πŸ’– huge sign-off energy to the source/version line ./drivers/gpu/drm, the date October 2026, and the manual name drm_mode_dirtyfb_ioctl(9) β€” that's the whole footer, bestie, periodt. πŸŽ€

πŸ“¦ where this page comes from