drm_is_current_master(9)
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 π
- the kernel file
./drivers/gpu/drm/drm_auth.c, plusmasterandauthentication(9)π¦ drm_master_get(9)πdrm_file_get_master(9)πdrm_master_put(9)πΈ
made with π from source/version ./drivers/gpu/drm, dated October 2026 β mwah, slay, periodt ππ
π¦ 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