ENUM DPU_ENC_ENABLE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a hw_reset to 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