ENUM DC_DEBUG_MASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ 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-splitting
  • DC_DISABLE_STUTTER β€” (0x2) If set, disable memory stutter mode
  • DC_DISABLE_DSC β€” (0x4) If set, disable display stream compression
  • DC_DISABLE_CLOCK_GATING β€” (0x8) If set, disable clock gating optimizations
  • DC_DISABLE_PSR β€” (0x10) If set, disable Panel self refresh v1 and PSR-SU
  • DC_FORCE_SUBVP_MCLK_SWITCH β€” (0x20) If set, force mclk switch in subvp, even if mclk switch in vblank is possible
  • DC_DISABLE_MPO β€” (0x40) If set, disable multi-plane offloading
  • DC_ENABLE_DPIA_TRACE β€” (0x80) If set, enable trace logging for DPIA
  • DC_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 SU
  • DC_DISABLE_REPLAY β€” (0x400) If set, disable Panel Replay
  • DC_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, if DC_FORCE_IPS_ENABLE and DC_DISABLE_IPS_DYNAMIC are set, then DC_DISABLE_IPS_DYNAMIC takes 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 _DDC method.
  • 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 curves
  • DC_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