[PATCH 0/2] 2 bugfixes found in DRM-CI

From: Jim Cromie

Date: Sun Mar 08 2026 - 18:36:00 EST


1st fixes drm-buddy's use of long-int power-of-2 fns on u64 var, on 32
bit arches (like arm32).

2nd is drm_print.c __drm_printfn_dbg() using __drm_print_enabled(),
which short-circuits the drm.debg bit tests because its optimized for
use behind dynamic-debug's per-callsite static-key guard.

__drm_printfn_dbg() doesnt have the guard, so under
CONFIG_DRM_USE_DYNAMIC_DEBUG=Y it floods the log, causing DRM-CI to
timeout on runners with a serial console.

Jim Cromie (2):
drm_buddy: fix power-of-2 rounding errs
drivers/gpu/drm/drm_print: fix drm_printer dynamic debug bypass

drivers/gpu/drm/drm_buddy.c | 4 ++--
drivers/gpu/drm/drm_print.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

--
2.53.0