RFC use DYNAMIC_DEBUG in drm/print
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm: fixup comment spellinginclude/ | +1 | 0 replies | |
| 2/4 | drm: RFC add choice to use dynamic debug in drm-debugdrivers/ drivers/ include/ | +155 | 0 replies | |
| 3/4 | drm: fixup DRM_DEBUG_KMS_RATELIMITED merge puntinclude/ | +7 | 0 replies | |
| 4/4 | i915: map gvt pr_debug categories to bits in parameters/debug_gvtdrivers/ drivers/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] use DYNAMIC_DEBUG in drm/print
hi everyone,
this patchset reworks the drm.debug controlled debug categories, and remaps them to use dynamic_debug_exec_queries().
To do this "smoothly", DRM_UT_* is converted from an enum to a class-prefix string, which is prepended## to the real format string. This lets us use:
$> echo module drm\* format ^drm:kms: +p > /proc/dynamic_debug/control
3rd patch fixes a conflict while rebasing to rc3. I kept the fixup separate for more visibility.
commit c5261e93758a6b36f4292403027af383ec9da129
Author: Lyude Paul <[email protected]> Date: Fri Mar 26 16:37:54 2021 -0400
drm/print: Fixup DRM_DEBUG_KMS_RATELIMITED()
Since we're about to move drm_dp_helper.c over to drm_dbg_*(), we'll want to make sure that we can also add ratelimited versions of these macros in order to retain some of the previous debugging output behavior we had.
I can see I havent been paying attention.
Are plans laid out where I can catch up quickly ?
Separately, but related, I have an RFC patchset on LKML to reduce DYNAMIC_DEBUG's memory overhead. Patch 34 hints that rate-limiting can be done dynamically, on demand, for any prdbg known to dynamic_debug.
https://lore.kernel.org/lkml/[email protected]/T/#ma5052696fe9171649b93b3e1f482de90314a9b61
Jim Cromie (4):
drm: fixup comment spelling
drm: RFC add choice to use dynamic debug in drm-debug
drm: fixup DRM_DEBUG_KMS_RATELIMITED merge punt
i915: map gvt pr_debug categories to bits in parameters/debug_gvt
drivers/gpu/drm/Kconfig | 13 ++++ drivers/gpu/drm/drm_print.c | 75 ++++++++++++++++++- drivers/gpu/drm/i915/gvt/Makefile | 4 + drivers/gpu/drm/i915/i915_params.c | 76 +++++++++++++++++++ include/drm/drm_print.h | 116 ++++++++++++++++++++--------- 5 files changed, 243 insertions(+), 41 deletions(-)
Signature · 1 line
2.31.1