drm_plane_has_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_plane_has_format(9) β€” the kernel API manual, but make it cute

okay bestie, welcome to the drm_plane_has_format(9) page πŸ’– this is a kernel API manual thingy and we're gonna get through it together, no cap.


✨ NAME ✨

drm_plane_has_format β€” literally just checks whether the plane supports this format and modifier combo πŸŽ€


🌸 SYNOPSIS 🌸

bool drm_plane_has_format (struct drm_plane *plane , u32 format , u64
modifier );

that's it, that's the whole~~vibe~~ signature πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the drm plane, the main character of this whole situation πŸ‘‘
  • format β€” the pixel format, and it's a DRM_FORMAT_* one, so keep that in mind bestie
  • modifier β€” the data layout modifier, lowkey important

⭐ RETURN ⭐

returns whether the plane supports the specified format and modifier combination β€” like, it's a bool, so it's giving yes or no, and nothing in between 🫢


🌈 SEE ALSO 🌈

the whole friend group, fr fr:


ok that's the whole page bestie, you ate that πŸ“ go check the plane before you use it, always πŸ’€

sign-off time πŸŽ€ this little page lives in ./drivers/gpu/drm, it's dated October 2026, and the whole thing is the drm_plane_has_format(9) man page β€” iconic, periodt. πŸ’œπŸ§š

πŸ“¦ where this page comes from