Thread (67 messages) 67 messages, 2 authors, 2025-09-08
STALE307d
Revisions (8)
  1. v9 [diff vs current]
  2. v9 [diff vs current]
  3. v9 [diff vs current]
  4. v1 [diff vs current]
  5. v2 [diff vs current]
  6. v3 [diff vs current]
  7. v4 current
  8. v12 [diff vs current]

[PATCH v4 45/58] drm-dyndbg: add DRM_CLASSMAP_USE to bochs

From: Jim Cromie <jim.cromie@gmail.com>
Date: 2025-08-03 03:59:40
Also in: amd-gfx, dri-devel, intel-gfx, linux-arm-msm, lkml
Subsystem: drm driver for bochs virtual gpu, drm drivers, drm drivers and misc gpu patches, the rest · Maintainers: Gerd Hoffmann, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Linus Torvalds

tiny/bochs has 5 DRM_UT_* debugs, make them controllable when
CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module has
class'd debugs.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
 drivers/gpu/drm/tiny/bochs.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/tiny/bochs.c b/drivers/gpu/drm/tiny/bochs.c
index 8706763af8fba..dbcc8ba70dfa5 100644
--- a/drivers/gpu/drm/tiny/bochs.c
+++ b/drivers/gpu/drm/tiny/bochs.c
@@ -59,6 +59,8 @@ static int bochs_modeset = -1;
 static int defx = 1024;
 static int defy = 768;
 
+DRM_CLASSMAP_USE(drm_debug_classes);
+
 module_param_named(modeset, bochs_modeset, int, 0444);
 MODULE_PARM_DESC(modeset, "enable/disable kernel modesetting");
 
-- 
2.50.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help