STRUCT DPU_HW_LM_OPS(9)
π
struct dpu_hw_lm_ops β Kernel API Manual energy β¨
Okay bestie, welcome to the struct dpu_hw_lm_ops(9) page, straight outta the Kernel API Manual π«Ά This is the interface to the mixer Hw driver functions, and it is very much giving βcall me after the clocks are enabledβ β¨
β οΈ The assumption is these functions will be called after clocks are enabled. So clock first, then functions β no cap π
πΈ NAME πΈ
struct dpu_hw_lm_ops β Interface to the mixer Hw driver functions. Assumption is these functions will be called after clocks are enabled π
π SYNOPSIS π
Hereβs the struct, exactly as it appears β no edits, no βfixingβ the line wraps, okay? π
struct dpu_hw_lm_ops {
void (*setup_mixer_out)(struct dpu_hw_mixer *ctx, struct
dpu_hw_mixer_cfg *cfg);
void (*setup_blend_config)(struct dpu_hw_mixer *ctx, uint32_t stage,
u16 fg_alpha, u16 bg_alpha, uint32_t blend_op);
void (*setup_alpha_out)(struct dpu_hw_mixer *ctx, uint32_t
mixer_op);
int (*clear_all_blendstages)(struct dpu_hw_mixer *ctx);
int (*setup_blendstage)(struct dpu_hw_mixer *ctx, enum dpu_lm lm,
struct dpu_hw_stage_cfg *stage_cfg);
void (*setup_border_color)(struct dpu_hw_mixer *ctx, struct
dpu_mdss_color *color, u8 border_en);
void (*setup_misr)(struct dpu_hw_mixer *ctx);
int (*collect_misr)(struct dpu_hw_mixer *ctx, u32 *misr_value);
};
π Members π
setup_mixer_outβ Sets up the mixer output width and height, plus the border color if itβs enabled β¨setup_blend_configβ Alpha blending configuration for the specified stage πsetup_alpha_outβ Alpha color component selection from either fg or bg πclear_all_blendstagesβ Clear layer mixer to pipe configuration.ctxis the mixer ctx pointer. Returns:0on success or-errorπsetup_blendstageβ Configure layer mixer to pipe configuration.ctxis the mixer ctx pointer,lmis the layer mixer enumeration, andstage_cfgis the blend stage configuration. Returns:0on success or-errorπ₯setup_border_colorβ enable/disable border color πsetup_misrβ Enable/disable MISR βcollect_misrβ Read MISR signature π¦
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h to_dpu_hw_mixer(9)
So yeah, thatβs the whole vibe: source ./drivers/gpu/drm/msm/disp/dpu1, October 2026, and this iconic little page is struct dpu_hw_lm_ops(9) β bye bestie, 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