STRUCT DPU_HW_GC_LUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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