dpu_encoder_phys_vid_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 dpu_encoder_phys_vid_init(9) β€” the video-mode physical encoder init moment 🌸

Okay so bestie, this page is from the Kernel API Manual (section 9, obviously), and it's literally all about constructing a new video mode physical encoder. The way this function just initializes a physical video encoder? Obsessed. πŸ’…βœ¨

✨ NAME ✨

dpu_encoder_phys_vid_init β€” Construct a new video mode physical encoder πŸŽ€

✨ SYNOPSIS ✨

struct dpu_encoder_phys * dpu_encoder_phys_vid_init (struct drm_device *dev , struct dpu_enc_phys_init_params *p );

✨ ARGUMENTS ✨

  • dev β€” Corresponding device for devres management. Like, this is the device that's handling the devres situation for you 🫢
  • p β€” Pointer to init params structure. It's giving "here's the setup info" vibes ✨

✨ RETURN ✨

Returns an error code or a newly allocated encoder. So bestie, check the return: error code means no encoder, newly allocated encoder means you ate πŸ’…πŸ”₯

✨ SEE ALSO ✨

  • Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c β€” go read the source, iykyk 🧚

mwah πŸ’– this iconic lil page lives in the source path ./drivers/gpu/drm/msm/disp/dpu1 and is dated October 2026, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from