STRUCT DPU_HW_DITHER_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dpu_hw_dither_cfg(9) πŸ’…

okay so this is a page from the Kernel API Manual, bestie β€” and we're talking about struct dpu_hw_dither_cfg, no cap. It's the dither feature structure and honestly she's giving "tiny struct, big main character energy." ✨


✨ NAME ✨

struct dpu_hw_dither_cfg β€” the dither feature structure πŸŽ€


🌸 SYNOPSIS 🌸

struct dpu_hw_dither_cfg {
    u64 flags;
    u32 temporal_en;
    u32 c0_bitdepth;
    u32 c1_bitdepth;
    u32 c2_bitdepth;
    u32 c3_bitdepth;
    u32 matrix[DITHER_MATRIX_SZ];
 };

like, that's the whole vibe. seven members, one of them is an array, we love to see it 🫢


πŸ¦‹ Members πŸ¦‹

let's do a little roll call, one by one, because every single field deserves her moment πŸ’–

  • flags β€” for customizing operations. that's the little switchboard for tweaking stuff, iykyk.
  • temporal_en β€” temperal dither enable. (yes, "temperal" β€” that's literally what the page says, i'm just the messenger πŸ™ˆ)
  • c0_bitdepth β€” the c0 component bit depth ⭐
  • c1_bitdepth β€” the c1 component bit depth ⭐
  • c2_bitdepth β€” the c2 component bit depth ⭐
  • c3_bitdepth β€” the c2 component bit depth πŸ‘€ (not me noticing it says c2 again β€” that's exactly how it's written on the page, so i'm passing it straight to you, fr fr)
  • matrix β€” the dither strength matrix πŸ”₯ she's an array of DITHER_MATRIX_SZ, and she holds the strength. iconic.

πŸ’œ SEE ALSO πŸ’œ

go check out the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h, plus these two besties:


lowkey reminder: every field name, type and value up there is copy-pasted straight from the source page β€” don't go renaming anything, bestie, the compiler will NOT be cute about it πŸ’€

and that's the whole page, periodt. 🧚 this little slice of kernel lore lives in ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026 β€” catch you in the next struct dpu_hw_dither_cfg(9), mwah! πŸ’…πŸŒˆπŸ’–

πŸ“¦ where this page comes from