dpu_encoder_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpu_encoder_init(9) β€” Kernel API Manual energy ✨

okay so bestie, welcome to dpu_encoder_init πŸ’– this is a page from the Kernel API Manual, and it is literally about spinning up a whole virtual encoder object. no cap, it's giving "main character gets created from scratch" πŸŽ€


✨ NAME ✨

dpu_encoder_init β€” initialize virtual encoder object πŸ¦‹

like, it makes one. a virtual one. an encoder object. obsessed.


🌸 SYNOPSIS 🌸

struct drm_encoder * dpu_encoder_init (struct drm_device *dev , int
drm_enc_mode , struct msm_display_info *disp_info );

yes she returns a struct drm_encoder * and yes she takes three args, we'll get to them πŸ’…


πŸ’œ ARGUMENTS πŸ’œ

  • dev β€” Pointer to drm device structure. this is the drm device bestie, the whole vibe, the parent energy πŸ‘‘
  • drm_enc_mode β€” corresponding DRM_MODE_ENCODER_* constant. like whichever DRM_MODE_ENCODER_* constant matches, that's the one πŸŒ€
  • disp_info β€” Pointer to display information structure. the display info, pointed at, iconic πŸ™ˆ

⭐ RETURN ⭐

Pointer to newly created drm encoder 🫢 β€” fresh out the oven, new drm encoder, pointer to it, periodt.


🌈 SEE ALSO 🌈

bestie there is a whole friend group here, i'm not skipping a single one, we love a complete list πŸ’€βœ¨


and that's the whole page bestie βœ¨πŸ’…

this little manual lives at ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's the dpu_encoder_init(9) page πŸŽ€ go forth and initialize ur virtual encoder objects, mwah πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from