use dynamic debug to implement drm.debug
configname: CONFIG_DRM_USE_DYNAMIC_DEBUG
Linux Kernel Configuration
└─>Device Drivers
└─>Graphics support
└─>Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
└─>use dynamic debug to implement drm.debug
In linux kernel since version 6.1 (release Date: 2022-12-11)
Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
bytes per callsite, the .data costs can be substantial, and
are therefore configurable.
Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
bytes per callsite, the .data costs can be substantial, and
are therefore configurable.
depends
CONFIG_BROKENCONFIG_DRM
CONFIG_HAS_IOMEM
CONFIG_JUMP_LABEL
CONFIG_DYNAMIC_DEBUG or CONFIG_DYNAMIC_DEBUG_CORE