drm_any_plane_has_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_any_plane_has_format β€” bestie, does ANY plane speak this format?

okay so real talk, this is the kernel API page for drm_any_plane_has_format β€” it lives in the Kernel API Manual and honestly it does exactly one little thing and it does it iconically ✨


🌸 NAME 🌸

drm_any_plane_has_format β€” check whether any plane supports this format and modifier combination 🫢

like… any plane. at least one. that's the whole vibe check. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

bool drm_any_plane_has_format (struct drm_device *dev , u32 format , u64 modifier );

it's a bool bestie, so you already know it's giving yes-or-no energy πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the DRM device πŸ‘‘ (the main character of this whole situation)
  • format β€” the pixel format, as a DRM_FORMAT_* value 🌈 (iykyk)
  • modifier β€” the data layout modifier 🧚 (the little ✨sparkle✨ on top of the format)

⭐ RETURN ⭐

returns whether at least one plane supports the specified format and modifier combination πŸ’œ

that's it. that's the answer. true if somebody out there can hang, false if literally nobody can 😭


πŸ”₯ SEE ALSO πŸ”₯

okay this is the group chat roll call, prepare yourself πŸ’…

ngl, that's a whole friend group. go read them, they ate. πŸ“

and that's the page babes 🌸 this little ./drivers/gpu/drm situation is dated October 2026, brought to you by the Kernel API Manual β€” periodt, stay slay, go check your planes πŸ’…βœ¨

πŸ“¦ where this page comes from