dpu_plane_init_virtual(9)
π 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 bestietypeβ Plane type: PRIMARY / OVERLAY / CURSOR π β pick your fighter, these are your three optionspossible_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:
_dpu_plane_calc_bw(9)_dpu_plane_calc_clk(9)_dpu_plane_calc_fill_level(9)_dpu_plane_set_qos_lut(9)_dpu_plane_set_qos_ctrl(9)_dpu_plane_set_ot_limit(9)_dpu_plane_set_qos_remap(9)_dpu_plane_color_fill(9)dpu_plane_flush(9)dpu_plane_set_error(9)dpu_plane_init(9)
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
- 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