dpu_encoder...ys_setup_cdm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

dpu_encoder_helper_phys_setup_cdm β€” bestie, this is the one that sets up your chroma down sampling block πŸ’…

(it's a page from the Kernel API Manual, and yes the title up top reads dpu_encoder...ys_setup_cdm(9) because manpage names are always a little dramatic and truncated πŸ’€)


🌸 SYNOPSIS 🌸

void dpu_encoder_helper_phys_setup_cdm (struct dpu_encoder_phys
*phys_enc , const struct msm_format *dpu_fmt , u32 output_type );

okay so it returns void β€” nothing comes back, it just does the thing β€” and it takes three args. no cap, that's the whole vibe πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • phys_enc β€” pointer to the physical encoder 🫢 like, the encoder itself, in physical form
  • dpu_fmt β€” pointer to the format description ✨ (the description of the format, obviously, she's telling you what things look like)
  • output_type β€” HDMI/WB 🌈 those are literally your two options, pick your fighter

πŸ¦‹ SEE ALSO πŸ¦‹

so like, this function lives its best life in the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c β€” icon behavior, truly πŸ‘‘

and here's the whole friend group, in the order the manpage lists them (yes, all of them, I'm not skipping a single one, we don't do that here πŸ’œ):

that's a lot of siblings but they're all slaying in their own lane, iykyk 😭πŸ”₯

quick vibe check: this page is filed under ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's part of the Kernel API Manual β€” so like, go read the actual source before you commit anything cursed, fr fr πŸ™ˆ

and that's the page!! πŸ“ thanks for reading bestie, go set up that chroma down sampling block, you're gonna eat πŸ’…βœ¨πŸ§šβ€β™€οΈπŸ«Ά

πŸ“¦ where this page comes from