drm_plane_he...able_primary(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_plane_he...able_primary(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual ✨ this one's about drm_plane_helper_disable_primary, and ngl the name is a whole keyboard smash but we move 🫢


🌸 NAME 🌸

drm_plane_helper_disable_primary β€” the helper for disabling primary planes πŸ’…


✨ SYNOPSIS ✨

int drm_plane_helper_disable_primary (struct drm_plane *plane , struct
       drm_modeset_acquire_ctx *ctx );

like, it takes two things and gives you back an int. that's the whole vibe πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • plane β€” the plane you're trying to disable, bestie. that's the main character here πŸ‘‘
  • ctx β€” the modeset locking context. it's giving "let me in, I have the keys" πŸ”‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea πŸ“ this helper returns an error when you try to disable the primary plane. like, it literally does not let you. not me being told no 😭

and the important part, bestie: this function is only useful for non-atomic modesetting. that's it, that's the whole lane it stays in.

⚠️ fr fr, do not use it in new drivers. it's not for the new girls. periodt πŸ’€

🌈 RETURN 🌈

an errno code. that's the whole return value, no cap ✨


πŸ’œ SEE ALSO πŸ’œ


πŸŽ€ cute sign-off time πŸŽ€ β€” this lil page lives in ./drivers/gpu/drm, dated October 2026. stan the kernel docs, drink water, and don't use deprecated helpers in new drivers πŸ’–πŸ’…πŸ¦‹
πŸ“¦ where this page comes from