dpu_encoder_get_clones(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpu_encoder_get_clones(9) β€” Kernel API Manual, bestie edition ✨

okay so this is a page from the Kernel API Manual about dpu_encoder_get_clones, and honestly? it's a little cutie. one function, one job, zero drama. let's get into it 🫢


✨ NAME ✨

dpu_encoder_get_clones β€” calculate the possible_clones for a DPU encoder 🌸

like, it goes and figures out which encoders are clone-able. that's it. that's the whole vibe check.


πŸ¦‹ SYNOPSIS πŸ¦‹

uint32_t dpu_encoder_get_clones (struct drm_encoder *drm_enc );

one function, one argument, returns a uint32_t. slay.


πŸŽ€ ARGUMENTS πŸŽ€

  • drm_enc β€” a DRM encoder pointer πŸ’– yeah. that's the whole description. it's a pointer to a DRM encoder and you're handing it over. iconic minimalism, no notes.

⭐ RETURN ⭐

the possible_clones mask 🎯 that's what you get back β€” a mask. (a uint32_t, per the synopsis, if you're keeping track πŸ‘€)


🌈 SEE ALSO 🌈

bestie there are so many friends in this friend group, buckle up πŸ’€ the kernel file lives at ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c, and here's everybody:

forty-two besties and a whole directory. the group chat is poppin' πŸ”₯


ngl there's nothing dangerous or deprecated on this page, it's a very chill read. no cap. πŸ’œ

okay bye bestie πŸ’– this one came from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's still dpu_encoder_get_clones(9) at heart. go clone some encoders, you got this πŸ‘‘ ✨

πŸ“¦ where this page comes from