ENUM DPU_ENC_ENABLE_STATE(9)
π enum dpu_enc_enable_state(9) β the Kernel API Manual moment
okay so bestie, welcome to the glow-up doc for enum dpu_enc_enable_state from the Kernel API Manual β this is literally the whole mood board for how a physical encoder is doing rn. it's an enum, it's in the kernel, and it's about to eat. π
β¨ NAME β¨
enum dpu_enc_enable_state β the current enabled state of the physical encoder. that's it, that's the vibe check. π¦
πΈ SYNOPSIS πΈ
enum dpu_enc_enable_state {
DPU_ENC_DISABLING ,
DPU_ENC_DISABLED ,
DPU_ENC_ENABLING ,
DPU_ENC_ENABLED ,
DPU_ENC_ERR_NEEDS_HW_RESET
};
like, these are the five states and she contains multitudes π copy them exactly btw, no cap, they're case-sensitive and everything.
π Constants π
DPU_ENC_DISABLINGβ encoder is transitioning to the disable state. the events bounding that transition are encoder type specific, iykyk πDPU_ENC_DISABLEDβ encoder is disabled. she's resting, she's off duty, she's not doing the thing πDPU_ENC_ENABLINGβ encoder is transitioning to the enabled state. again, the events bounding the transition are encoder type specific πDPU_ENC_ENABLEDβ encoder is enabled. main character energy, she's ON βDPU_ENC_ERR_NEEDS_HW_RESETβ encoder is enabled, but it requires ahw_resetto recover from a previous error. lowkey a rough look but she's still enabled, bestie π
π«Ά SEE ALSO π«Ά
the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h and honestly the whole friend group:
enum dpu_enc_split_role(9)struct dpu_encoder_phys_ops(9)enum dpu_intr_idx(9)struct dpu_encoder_phys(9)struct dpu_encoder_phys_wb(9)struct dpu_encoder_phys_cmd(9)struct dpu_enc_phys_init_params(9)
fr fr that's the whole page, nothing skipped, no details dropped π
anywayyy mwah, this page lives at ./drivers/gpu/drm/msm/disp/dpu1 and it's stamped October 2026 β iconic behavior, obsessed, 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