STRUCT DPU_HW_DSPP_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ok so bestie, struct dpu_hw_dspp_ops is your interface to the dspp hardware driver functions πŸ’… β€” like, this struct is the whole plug for talking to the dspp driver, no cap.

Two things you have to know before you touch this, and I'm saying them with my whole chest:

  • Caller must call the init function to get the dspp context for each dspp. literally the caller's job, not the struct's, okay? 🫢
  • Assumption is these functions will be called after clocks are enabled ⚑ β€” highkey important, don't come for me if you skip it.

(this is the struct dpu_hw_dspp_ops(9) page from the Kernel API Manual, btw, in case the header didn't give it away πŸŽ€)


✨ SYNOPSIS ✨

struct dpu_hw_dspp_ops {
    void (*setup_pcc)(struct dpu_hw_dspp *ctx, struct dpu_hw_pcc_cfg *cfg);
    void (*setup_gc)(struct dpu_hw_dspp *ctx, struct dpu_hw_gc_lut *gc_lut);
 };

like, two function pointers, that's the whole vibe πŸ’–


πŸ¦‹ Members πŸ¦‹

  • setup_pcc β€” setup_pcc - setup dspp pcc 🌈. The ctx param is a pointer to dspp context, and cfg is a pointer to configuration. that's it, that's the member.
ngl, the page only spells out setup_pcc up there β€” setup_gc is just chillin' in the struct declaration without its own write-up. icons keep their mysteries πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h πŸ“
  • struct dpu_hw_pcc_coeff(9)
  • struct dpu_hw_pcc_cfg(9)
  • struct dpu_hw_gc_lut(9)
  • struct dpu_hw_dspp(9)
  • to_dpu_hw_dspp(9)

go read them, iykyk πŸ‘‘


and that's the whole page, bestie! this lil masterpiece lives over in ./drivers/gpu/drm/msm/disp/dpu1, it's dated October 2026, and it answers to the name struct dpu_hw_dspp_ops(9) πŸŽ€βœ¨ slay, go enable those clocks first πŸ’œ

πŸ“¦ where this page comes from