ENUM DC_FEATURE_MASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum DC_FEATURE_MASK(9) β€” Kernel API Manual realness πŸŽ€

okay bestie, welcome to the glow-up zone ✨ This page is a Kernel API Manual entry about enum DC_FEATURE_MASK, and honestly? It's giving "bitmask baddie." Let's get into it πŸ’–


✨ NAME ✨

enum DC_FEATURE_MASK β€” the bits that control DC feature defaults πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

enum DC_FEATURE_MASK {
    DC_FBC_MASK ,
    DC_MULTI_MON_PP_MCLK_SWITCH_MASK ,
    DC_DISABLE_FRACTIONAL_PWM_MASK ,
    DC_PSR_MASK ,
    DC_EDP_NO_POWER_SEQUENCING ,
    DC_DISABLE_LTTPR_DP1_4A ,
    DC_DISABLE_LTTPR_DP2_0 ,
    DC_PSR_ALLOW_SMU_OPT ,
    DC_PSR_ALLOW_MULTI_DISP_OPT ,
    DC_REPLAY_MASK ,
    DC_FRL_MASK

};

no cap, that's the whole enum, verbatim, don't @ me πŸ’€


🌸 CONSTANTS 🌸

every single one of these gets its own hex value and its own default vibe β€” nobody left behind, periodt πŸ’…

  • DC_FBC_MASK β€” value 0x1, and it's disabled by default πŸ™ˆ
  • DC_MULTI_MON_PP_MCLK_SWITCH_MASK β€” value 0x2, and this one is enabled by default πŸ”₯ (yes, the main character of the list β€” the only one turned on out of the box)
  • DC_DISABLE_FRACTIONAL_PWM_MASK β€” value 0x4, disabled by default ✨
  • DC_PSR_MASK β€” value 0x8, disabled by default for DCN < 3.1 🫢 (read that caveat carefully bestie, the version matters)
  • DC_EDP_NO_POWER_SEQUENCING β€” value 0x10, disabled by default πŸ¦‹
  • DC_DISABLE_LTTPR_DP1_4A β€” value 0x20, disabled by default πŸŽ€
  • DC_DISABLE_LTTPR_DP2_0 β€” value 0x40, disabled by default ⭐
  • DC_PSR_ALLOW_SMU_OPT β€” value 0x80, disabled by default 🌈
  • DC_PSR_ALLOW_MULTI_DISP_OPT β€” value 0x100, disabled by default πŸ’œ
  • DC_REPLAY_MASK β€” value 0x200, disabled by default for DCN < 3.1.4 😭 (another version caveat, don't skip it!)
  • DC_FRL_MASK β€” value 0x400, disabled by default πŸ‘‘
ngl the hex values double every time β€” 0x1, 0x2, 0x4, 0x8… it's literally a bitmask, that's the whole point, iykyk πŸ’€

🧚 SEE ALSO 🧚

go read these next, bestie, they're all part of the same friend group fr fr:

  • Kernel file ./drivers/gpu/drm/amd/include/amd_shared.h IP Blocks(9)
  • enum amd_ip_block_type(9)
  • enum PP_FEATURE_MASK(9)
  • enum DC_DEBUG_MASK(9)
  • struct amd_ip_funcs(9)

that's the whole page, no crumbs left 🌸 this icon lives in ./drivers/gpu/drm/amd/include, dated October 2026 β€” and it's still signed enum DC_FEATURE_MASK(9) at the bottom, slay πŸ’…βœ¨

πŸ“¦ where this page comes from