drm_plane_a...nts_property(9)
π drm_plane_add_size_hints_property(9) π
okay so bestie, you're in the Kernel API Manual and today's main character is drm_plane_add_size_hints_property β no cap, she's here to make a size hints property and she's gonna slay while doing it β¨
πΈ NAME πΈ
drm_plane_add_size_hints_property β create a size hints property π
like, literally that's the whole job. creating a size hints property. iconic behavior honestly.
π¦ SYNOPSIS π¦
int drm_plane_add_size_hints_property (struct drm_plane *plane , const
struct drm_plane_size_hint *hints , int num_hints );
π ARGUMENTS π
planeβ drm plane π (the plane in question, the one getting the glow-up)hintsβ size hints π (the actual hints, she'sconstso don't even think about it)num_hintsβ number of size hints π (yes bestie, you gotta tell her how many)
β¨ DESCRIPTION β¨
Create a size hints property for the plane. That's it, that's the vibe π«Ά β she makes the property, the plane gets the hints, everyone goes home happy.
π₯ RETURN π₯
Zero for success or -errno π β so like, 0 means you ate and left no crumbs, and a negative errno means something went sideways (the error code will tell you what).
π SEE ALSO π
the whole friend group, fr fr β go say hi:
- 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)drm_any_plane_has_format(9)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_create_color_pipeline_property(9)
okay that's the whole page bestie, you're officially educated π this lil gem lives in ./drivers/gpu/drm and the version date situation is October 2026 β so like, future-coded but make it kernel π mwah, go forth and add those size hints π§ββοΈπ
π¦ 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