STRUCT DPU_HW_DSC_OPS(9)
π¦ struct dpu_hw_dsc_ops(9) π¦
okay so this is from the Kernel API Manual, bestie, and it's literally the whole interface to the dsc hardware driver functions π
β¨ NAME β¨
struct dpu_hw_dsc_ops β the interface to the dsc hardware driver functions, fr fr. and the assumption baked in here? these functions get called after the clocks are enabled π like, clocks on first, then we talk. no cap.
πΈ SYNOPSIS πΈ
struct dpu_hw_dsc_ops {
void (*dsc_disable)(struct dpu_hw_dsc *hw_dsc);
void (*dsc_config)(struct dpu_hw_dsc *hw_dsc, struct drm_dsc_config
*dsc, u32 mode, u32 initial_lines);
void (*dsc_config_thresh)(struct dpu_hw_dsc *hw_dsc, struct
drm_dsc_config *dsc);
void (*dsc_bind_pingpong_blk)(struct dpu_hw_dsc *hw_dsc, enum
dpu_pingpong pp);
};
π Members π
dsc_disableβ disables dsc π and yeah,hw_dscis the pointer to the dsc context, obviously.dsc_configβ configures the dsc encoder, slay β¨hw_dscis the pointer to the dsc context,dscis the panel dsc parameters,modeis the dsc topology mode to be set, andinitial_linesis the amount of initial lines to be used. so many little details and we love that for us π«Άdsc_config_threshβ programs the panel thresholds πhw_dscis the pointer to the dsc context,dscis the panel dsc parameters.dsc_bind_pingpong_blkβ binds pixel output from a DSC block to a pingpong block π¦ like matchmaking but for hardware blocks, iykyk.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.h β go read it, bestie, it's giving main character energy ππ
and that's the whole vibe check, babe π this lil page came from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's filed under struct dpu_hw_dsc_ops(9) β periodt πβ¨π₯
π¦ 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