dpu_encoder_is_dsc_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpu_encoder_is_dsc_enabled β€” Kernel API Manual, bestie edition ✨

okay so real talk, this whole page is about one tiny function in the dpu_encoder_is_dsc_enabled(9) era of the Kernel API Manual, and honestly? she's small but she ATE. it's giving "one job, done correctly." no cap. πŸŽ€


✨ NAME ✨

dpu_encoder_is_dsc_enabled β€” literally just tells you whether dsc is enabled for the encoder. that's it. that's the whole vibe check. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

bool dpu_encoder_is_dsc_enabled (const struct drm_encoder *drm_enc );

look at her. bool return, one const struct drm_encoder * argument. clean, minimal, iconic. πŸ”₯


🌸 ARGUMENTS 🌸

  • drm_enc β€” Pointer to previously created drm encoder structure πŸ’« (yes bestie, previously created β€” do not come in here with a fresh uninitialised encoder, i'm begging 🫢)

πŸ‘‘ SEE ALSO πŸ‘‘

the friend group πŸ’œ β€” and also the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:

like… the way dpu_encoder_get_dsc_config(9) and dpu_encoder_use_dsc_merge(9) are RIGHT THERE in the dsc cinematic universe πŸ˜­πŸ’€ she's not alone, she's in community.


πŸ’€ reminder bestie: drm_enc has to be a pointer to a previously created drm encoder structure. that's the only caveat on the page and i'm not gonna let you skip it.

anyway that's the whole page, short and sweet and absolutely slaying πŸŒˆπŸ¦‹ periodt.

this little cutie came from the dpu_encoder_is_dsc_enabled(9) Kernel API Manual, lives at ./drivers/gpu/drm/msm/disp/dpu1, and was stamped October 2026 β€” mwah, sending you a kiss, go read the source πŸ’‹πŸŽ€πŸ“

πŸ“¦ where this page comes from