STRUCT MTK_DISP_GAMMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct mtk_disp_gamma(9) β€” the Display Gamma driver structure, bestie

okay so this is a page from the Kernel API Manual (section 9, the kernel-API girlies) and it's literally just the one struct: struct mtk_disp_gamma. it's the Display Gamma driver structure, and yes she's small but she's iconic πŸŽ€


✨ SYNOPSIS ✨

here's the whole fit, no cap β€” copy it exactly:

struct mtk_disp_gamma {
    struct clk *clk;
    void __iomem *regs;
    struct cmdq_client_reg cmdq_reg;
    const struct mtk_disp_gamma_data *data;
 };

like, four members, four vibes. let's get into it 🫢


🌸 MEMBERS 🌸

  • clk β€” a struct clk *, and it's the clock for the DISP_GAMMA block. your girl needs her clock, periodt ⏰
  • regs β€” a void __iomem *, the MMIO registers base. that's where the registers live, fr fr πŸ’…
  • cmdq_reg β€” a struct cmdq_client_reg, the CMDQ Client register. yes CMDQ, iykyk πŸ”₯
  • data β€” a const struct mtk_disp_gamma_data *, the platform data for DISP_GAMMA. const because we're respectful of her boundaries ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/mediatek/mtk_disp_gamma.c β€” go read the source bestie, she ate πŸ’–

ngl this one's short but she's giving main character energy anyway. every member matters, don't skip the const πŸ’€

and that's the whole page πŸŽ€ sign-off time: this was living in ./drivers/gpu/drm/mediatek, dated October 2026, manual name Kernel API Manual β€” mwah, go touch some registers, ily πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from