drm_mode_obj...ase_required(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 a uint32_t and 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:


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