STRUCT DPU_HW_DITHER_CFG(9)
π 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 saysc2again β 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 ofDITHER_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:
struct dpu_hw_pingpong_ops(9)to_dpu_hw_pingpong(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms