ENUM DPU_PERF_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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