ENUM DPU_PERF_MODE(9)
π enum dpu_perf_mode (Kernel API Manual, section 9)
okay so bestie, welcome to the Kernel API Manual β this is the page for enum dpu_perf_mode, aka the performance tuning mode situation for the DPU. it's a whole vibe selector for how the display driver handles performance, and honestly? it ate. π
β¨ NAME β¨
enum dpu_perf_mode β performance tuning mode. that's it, that's the whole thing, and yet it's lowkey iconic. π
π¦ SYNOPSIS π¦
here's the struct in all her glory, word-for-word, no notes:
enum dpu_perf_mode {
DPU_PERF_MODE_NORMAL ,
DPU_PERF_MODE_MINIMUM ,
DPU_PERF_MODE_FIXED ,
DPU_PERF_MODE_MAX
};
πΈ Constants πΈ
so there's four constants and each one is a different little mood. let's go through them, no cap:
DPU_PERF_MODE_NORMALβ performance is controlled by the user mode client. you hand over the aux cord, basically. π«ΆDPU_PERF_MODE_MINIMUMβ performance is bounded by the minimum setting</c> β it's giving "we're keeping it cute and capped at the floor" energy. π§DPU_PERF_MODE_FIXEDβ performance is bounded by the fixed setting β locked in, no wiggle room, periodt. π₯DPU_PERF_MODE_MAXβ maximum value, used for error checking. she's not a real mode, she's the boundary police so the code knows when something's gone off the rails. π
ngl, DPU_PERF_MODE_MAX is the "main character energy" of error checking β it exists purely so the checks can yell "bestie that's out of range" π
π SEE ALSO π
if you wanna go deeper (and you should, iykyk), the kernel file lives at:
./drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
and these are the besties you'll want to pull up next, fr fr:
dpu_core_perf_adjusted_mode_clk(9)_dpu_core_perf_calc_bw(9)_dpu_core_perf_calc_clk(9)dpu_core_perf_crtc_check(9)dpu_core_perf_crtc_release_bw(9)dpu_core_perf_crtc_update(9)dpu_core_perf_debugfs_init(9)dpu_core_perf_init(9)
like, that's the whole squad. go read 'em, they slay. π
π that's the page! brought to you from ./drivers/gpu/drm/msm/disp/dpu1 by way of the October 2026 edition of enum dpu_perf_mode(9) β stay tuned, stay iconic, and remember: performance tuning is a lifestyle π
β¨ππ¦
π¦ 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