drm_mode_obj...ase_required(9)
π¦ drm_mode_obj...ase_required(9) π¦
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes this page is short, but it's lowkey iconic for it. let's get into it β¨
π NAME π
drm_mode_object_lease_required β the little truth-teller that checks which object types must be leased before anyone's allowed to use them π
πΈ SYNOPSIS πΈ
bool drm_mode_object_lease_required (uint32_t type );
that's it. one function, one argument, returns a bool. simple queen behaviour π
π ARGUMENTS π
typeβ the type of object bestie. that's the whole thing. it's auint32_tand it tells the function which kind of object we're asking about π«Ά
β¨ DESCRIPTION β¨
so here's the vibe: this function returns whether the provided type of drm_mode_object must be owned or leased to be used by a process. π
like, not every object needs a lease, right? so you hand it a type, and it tells you the answer β true or false, must-be-leased or not-must-be-leased. no cap, that's the entire plot. short and efficient, we stan π
π SEE ALSO π
fr fr go read these next, they're all in the kernel file ./drivers/gpu/drm/drm_mode_object.c:
drm_mode_object_add(9)drm_mode_object_unregister(9)drm_mode_object_find(9)drm_mode_object_put(9)drm_mode_object_get(9)drm_object_attach_property(9)drm_object_property_set_value(9)drm_object_property_get_value(9)drm_object_property_get_default_value(9)drm_object_immutable_property_get_value(9)drm_mode_obj_get_properties_ioctl(9)
and that's the whole page bestie!! π this one came from ./drivers/gpu/drm, dated October 2026 β mwah, thanks for reading, ily, go lease responsibly π§ββοΈπ
π¦ 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