dpu_plane_init_virtual(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpu_plane_init_virtual β€” from the Linux Kernel API Manual, section 9, bestie πŸ’…

okay so real talk, this page lives in the Kernel API Manual (that's the 9 section, for the uninitiated β€” kernel functions, iykyk) and it's all about making a virtual plane ✨


πŸ¦‹ NAME πŸ¦‹

dpu_plane_init_virtual β€” create new virtualized DPU plane πŸŽ€

like, it literally makes a plane. a virtual one. no cap.


✨ SYNOPSIS ✨

struct drm_plane * dpu_plane_init_virtual (struct drm_device *dev , enum
drm_plane_type type , unsigned long possible_crtcs );

she returns a struct drm_plane *, she takes three things, and yes the line break in the middle is exactly how it's written, don't come for me πŸ™ˆ


🌸 ARGUMENTS 🌸

  • dev β€” Pointer to DRM device πŸ–₯️ β€” like, the whole DRM device this plane belongs to, hi bestie
  • type β€” Plane type: PRIMARY / OVERLAY / CURSOR πŸ‘‘ β€” pick your fighter, these are your three options
  • possible_crtcs β€” bitmask of crtc that can be attached to the given pipe πŸ”— β€” it's a bitmask, so it's doing bitmask things

πŸ’– DESCRIPTION πŸ’–

Initialize the virtual plane with no backing SSPP / pipe. that's the whole bit β€” it's virtual, she's got nothing behind her, no SSPP, no pipe, just vibes and a struct drm_plane * 🫢

ngl that's the entire description, short and iconic, so don't go looking for more lore.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c πŸ“ β€” go read the source if you want the real tea

and the whole friend group of related functions, all of them, in order:


and that's the whole page, bestie 🧚 sources say she comes from ./drivers/gpu/drm/msm/disp/dpu1 and she's dated October 2026 β€” yes, 2026, main character energy, future queen πŸ‘‘πŸ’œ mwah, go init a plane, ily bye πŸŽ€

πŸ“¦ where this page comes from