STRUCT DPU_DRM_DE_V1(9)
π struct dpu_drm_de_v1(9) β the glow-up page
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is struct dpu_drm_de_v1 β literally version 1 of the detail enhancer structure β¨ ngl it's giving "glow-up settings but make it silicon."
πΈ NAME πΈ
struct dpu_drm_de_v1 β version 1 of detail enhancer structure. that's it, that's the whole vibe π
π SYNOPSIS π
here's the whole struct, copied exactly, no cap, character for character:
struct dpu_drm_de_v1 {
uint32_t enable;
int16_t sharpen_level1;
int16_t sharpen_level2;
uint16_t clip;
uint16_t limit;
uint16_t thr_quiet;
uint16_t thr_dieout;
uint16_t thr_low;
uint16_t thr_high;
uint16_t prec_shift;
int16_t adjust_a[DPU_MAX_DE_CURVES];
int16_t adjust_b[DPU_MAX_DE_CURVES];
int16_t adjust_c[DPU_MAX_DE_CURVES];
};
look at her. iconic. every field has a job and every job has a field π«Ά
π¦ Members π¦
okay field-by-field, let's go, keep up π«
enableβ turns the detail enhancer on and off, your basic on/off bestiesharpen_level1β the sharpening strength for noise πsharpen_level2β the sharpening strength for context, yes there are two, no they are not the sameclipβ the clip coefficientlimitβ the detail enhancer limit factorthr_quietβ the quite zone threshold (that's how it's spelled in the original, keeping it π)thr_dieoutβ the die-out zone thresholdthr_lowβ the linear zone left thresholdthr_highβ the linear zone right thresholdprec_shiftβ the detail enhancer precisionadjust_aβ mapping curves A coefficients, an array ofDPU_MAX_DE_CURVESofint16_tadjust_bβ mapping curves B coefficients, alsoDPU_MAX_DE_CURVESofint16_tadjust_cβ mapping curves C coefficients, you guessed it,DPU_MAX_DE_CURVESofint16_t
the three adjust_ arrays are all int16_t[DPU_MAX_DE_CURVES] in case you were wondering β A, B, and C, all accounted for, all slaying π
π₯ SEE ALSO π₯
go read these next, iykyk, the lore is deep:
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.hstructdpu_hw_blk(9) - struct
dpu_hw_scaler3_de_cfg(9) - struct
dpu_hw_scaler3_cfg(9) - struct
dpu_drm_pix_ext_v1(9) - struct
dpu_drm_scaler_v2(9) - struct
dpu_hw_qos_cfg(9)
ok that's the whole page, you read it, you understood it, i'm so proud of you ππ
and finally, the cute sign-off: this little masterpiece lives in ./drivers/gpu/drm/msm/disp/dpu1, it's dated October 2026, and it's filed under struct dpu_drm_de_v1(9) in the Kernel API Manual. 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