drm_any_plane_has_format(9)
π 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 aDRM_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 π
- Kernel file
./drivers/gpu/drm/drm_plane.cπ overview(9)standard plane properties(9)hotspot properties(9)drm_plane_create_hotspot_properties(9)drm_universal_plane_init(9)drm_plane_cleanup(9)drm_plane_from_index(9)drm_plane_force_disable(9)drm_mode_plane_set_obj_prop(9)drm_plane_has_format(9)π (yes, the single-plane cousin, they're siblings fr fr)damage tracking(9)drm_plane_enable_fb_damage_clips(9)drm_plane_get_damage_clips_count(9)drm_plane_get_damage_clips(9)drm_plane_create_scaling_filter_property(9)drm_plane_add_size_hints_property(9)drm_plane_create_color_pipeline_property(9)
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
- 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