ENUM DC_DEBUG_MASK(9)
π enum DC_DEBUG_MASK(9) π
okay bestie, welcome to the Kernel API Manual page for enum DC_DEBUG_MASK β¨ this is the enum of bits that are useful for debugging the Display Core IP, and we're gonna go through every single one, no skips, no cap π
πΈ NAME πΈ
enum DC_DEBUG_MASK β bits that are useful for debugging the Display Core IP π«Ά
β¨ SYNOPSIS β¨
enum DC_DEBUG_MASK {
DC_DISABLE_PIPE_SPLIT ,
DC_DISABLE_STUTTER ,
DC_DISABLE_DSC ,
DC_DISABLE_CLOCK_GATING ,
DC_DISABLE_PSR ,
DC_FORCE_SUBVP_MCLK_SWITCH ,
DC_DISABLE_MPO ,
DC_ENABLE_DPIA_TRACE ,
DC_ENABLE_DML2 ,
DC_DISABLE_PSR_SU ,
DC_DISABLE_REPLAY ,
DC_DISABLE_IPS ,
DC_DISABLE_IPS_DYNAMIC ,
DC_DISABLE_IPS2_DYNAMIC ,
DC_FORCE_IPS_ENABLE ,
DC_DISABLE_ACPI_EDID ,
DC_DISABLE_HDMI_CEC ,
DC_DISABLE_SUBVP_FAMS ,
DC_DISABLE_CUSTOM_BRIGHTNESS_CURVE ,
DC_HDCP_LC_FORCE_FW_ENABLE ,
DC_HDCP_LC_ENABLE_SW_FALLBACK ,
DC_SKIP_DETECTION_LT
};
π Constants π
here's the whole bit lineup, each one with its value and what it does when set:
DC_DISABLE_PIPE_SPLITβ(0x1)If set, disable pipe-splittingDC_DISABLE_STUTTERβ(0x2)If set, disable memory stutter modeDC_DISABLE_DSCβ(0x4)If set, disable display stream compressionDC_DISABLE_CLOCK_GATINGβ(0x8)If set, disable clock gating optimizationsDC_DISABLE_PSRβ(0x10)If set, disable Panel self refresh v1 and PSR-SUDC_FORCE_SUBVP_MCLK_SWITCHβ(0x20)If set, force mclk switch in subvp, even if mclk switch in vblank is possibleDC_DISABLE_MPOβ(0x40)If set, disable multi-plane offloadingDC_ENABLE_DPIA_TRACEβ(0x80)If set, enable trace logging for DPIADC_ENABLE_DML2β(0x100)If set, force usage of DML2, even if the DCN version does not default to it.DC_DISABLE_PSR_SUβ(0x200)If set, disable PSR SUDC_DISABLE_REPLAYβ(0x400)If set, disable Panel ReplayDC_DISABLE_IPSβ(0x800)If set, disable all Idle Power States, all the time. If more than one IPS debug bit is set, the lowest bit takes precedence. For example, ifDC_FORCE_IPS_ENABLEandDC_DISABLE_IPS_DYNAMICare set, thenDC_DISABLE_IPS_DYNAMICtakes precedence.DC_DISABLE_IPS_DYNAMICβ(0x1000)If set, disable all IPS, all the time, except when driver goes into suspend.DC_DISABLE_IPS2_DYNAMICβ(0x2000)If set, disable IPS2 (IPS1 allowed) if there is an enabled display. Otherwise, enable all IPS.DC_FORCE_IPS_ENABLEβ(0x4000)If set, force enable all IPS, all the time.DC_DISABLE_ACPI_EDIDβ(0x8000)If set, don't attempt to fetch EDID for eDP display from ACPI_DDCmethod.DC_DISABLE_HDMI_CECβ(0x10000)If set, disable HDMI-CEC feature in amdgpu driver.DC_DISABLE_SUBVP_FAMSβ(0x20000)If set, disable DCN Sub-Viewport & Firmware Assisted Memory Clock Switching (FAMS) feature in amdgpu driver.DC_DISABLE_CUSTOM_BRIGHTNESS_CURVEβ(0x40000)If set, disable support for custom brightness curvesDC_HDCP_LC_FORCE_FW_ENABLEβ(0x80000)If set, use HDCP Locality Check FW path regardless of reported HW capabilities.DC_HDCP_LC_ENABLE_SW_FALLBACKβ(0x100000)If set, upon HDCP Locality Check FW path failure, retry using legacy SW path.DC_SKIP_DETECTION_LTβ(0x200000)If set, skip detection link training
π¦ SEE ALSO π¦
also peep the Kernel file ./drivers/gpu/drm/amd/include/amd_shared.h, plus IP Blocks(9), enum amd_ip_block_type(9), enum PP_FEATURE_MASK(9), enum DC_FEATURE_MASK(9), and struct amd_ip_funcs(9) π
mwah π this lil page is from ./drivers/gpu/drm/amd/include, dated October 2026, and it's literally enum DC_DEBUG_MASK(9) β 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