drm_is_current_master(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to drm_is_current_master(9) from the Kernel API Manual πŸ’–βœ¨ this one is short but iconic, fr fr.

🌸 NAME 🌸

drm_is_current_master β€” checks whether @priv is the current master πŸ‘‘

πŸ’… SYNOPSIS πŸ’…

bool drm_is_current_master (struct drm_file *fpriv );

🫢 ARGUMENTS 🫢

  • fpriv β€” DRM file private πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

Okay so this checks whether fpriv is the current master on its device. That’s the whole vibe check that decides whether a client is allowed to run DRM_MASTER IOCTLs πŸ’…

Most of the modern IOCTL that require DRM_MASTER are for kernel modesetting ✨

  • the current master is assumed to own the non-shareable display hardware πŸ‘‘

🌈 SEE ALSO 🌈


made with πŸ’– from source/version ./drivers/gpu/drm, dated October 2026 β€” mwah, slay, periodt πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from