STRUCT DPU_HW_GC_LUT(9)
π struct dpu_hw_gc_lut(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is struct dpu_hw_gc_lut, which is literally the gc lut feature structure π. yes that's its whole NAME, no notes, we move.
β¨ NAME β¨
struct dpu_hw_gc_lut β the gc lut feature structure, periodt π
π¦ SYNOPSIS π¦
ok so here's the whole vibe, copy it exactly, no cap:
struct dpu_hw_gc_lut {
__u64 flags;
__u32 c0[PGC_TBL_LEN];
__u32 c1[PGC_TBL_LEN];
__u32 c2[PGC_TBL_LEN];
};
likeβ¦ look at her. three luts and a flags field. iconic. π
πΈ Members πΈ
so these are the members, and yes each one matters, we are not skipping π
flagsβ the flags for the feature, and the values it can be are:PGC_8B_ROUND
(that's the whole list fr fr, one value, she's lowkey exclusive π)
c0β the color0 component lut πc1β the color1 component lut π¦c2β the color2 component lut π
three luts, three vibes, all of them PGC_TBL_LEN long, that's just how she is π
π SEE ALSO π
go look at the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h β that's where the lore lives π, and also these besties:
struct dpu_hw_pcc_coeff(9)struct dpu_hw_pcc_cfg(9)struct dpu_hw_dspp_ops(9)struct dpu_hw_dspp(9)to_dpu_hw_dspp(9)
iykyk π
ngl this page is short and sweet β but it's giving "read the header file next" energy, so likeβ¦ do that π«Ά
and that's the whole page bestie, mwah π β brought to you by ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, filed under struct dpu_hw_gc_lut(9) β slay, go touch some registers πΈ
π¦ 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