Skip to content

2 bugfixes found in DRM-CI

Jim Cromie dri-devel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm_buddy: fix power-of-2 rounding errsdrivers/gpu/drm/drm_buddy.c+2 -20 replies
2/2drivers/gpu/drm/drm_print: fix drm_printer dynamic debug bypassdrivers/gpu/drm/drm_print.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.53.0