Re: [PATCH v11 64/65] drm_print: fix drm_printer dynamic debug bypass

From: Louis Chauvet

Date: Fri Mar 20 2026 - 12:58:07 EST


On Fri, 13 Mar 2026 07:20:29 -0600, Jim Cromie <jim.cromie@xxxxxxxxx> wrote:
> [...]
> mismatch in intel_pipe_config_compare(), the resulting UART storm
> causes a hard timeout after 20 minutes (see below the snip).
>
> To fix this, change __drm_printfn_dbg() to use the explicit
> drm_debug_enabled_instrumented() instead. This ensures the bit-test is
> performed at runtime for this unguarded helper, stopping the UART storm.

Why don't use use drm_debug_enabled directly? Does it make sense to call
the _instrumented when [2] is not enabled?

>

--
Louis Chauvet <louis.chauvet@xxxxxxxxxxx>