ENUM DC_FEATURE_MASK(9)
π 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β value0x1, and it's disabled by default πDC_MULTI_MON_PP_MCLK_SWITCH_MASKβ value0x2, 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β value0x4, disabled by default β¨DC_PSR_MASKβ value0x8, disabled by default for DCN < 3.1 π«Ά (read that caveat carefully bestie, the version matters)DC_EDP_NO_POWER_SEQUENCINGβ value0x10, disabled by default π¦DC_DISABLE_LTTPR_DP1_4Aβ value0x20, disabled by default πDC_DISABLE_LTTPR_DP2_0β value0x40, disabled by default βDC_PSR_ALLOW_SMU_OPTβ value0x80, disabled by default πDC_PSR_ALLOW_MULTI_DISP_OPTβ value0x100, disabled by default πDC_REPLAY_MASKβ value0x200, disabled by default for DCN < 3.1.4 π (another version caveat, don't skip it!)DC_FRL_MASKβ value0x400, 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.hIP 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
- 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