projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6470aac
)
drm/mode: switch from drm_debug_printer() to device specific drm_dbg_printer()
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 16 Jan 2024 13:07:30 +0000
(15:07 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 9 Feb 2024 09:51:59 +0000
(11:51 +0200)
Prefer the device specific debug printer.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/56f6f3e8e045206706d7a292968b6b2f4fc19c27.1705410327.git.jani.nikula@intel.com
drivers/gpu/drm/drm_mode_config.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_mode_config.c
b/drivers/gpu/drm/drm_mode_config.c
index
8525ef8
..
48fd2d6
100644
(file)
--- a/
drivers/gpu/drm/drm_mode_config.c
+++ b/
drivers/gpu/drm/drm_mode_config.c
@@
-544,7
+544,7
@@
void drm_mode_config_cleanup(struct drm_device *dev)
*/
WARN_ON(!list_empty(&dev->mode_config.fb_list));
list_for_each_entry_safe(fb, fbt, &dev->mode_config.fb_list, head) {
- struct drm_printer p = drm_d
ebug_printer(
"[leaked fb]");
+ struct drm_printer p = drm_d
bg_printer(dev, DRM_UT_KMS,
"[leaked fb]");
drm_printf(&p, "framebuffer[%u]:\n", fb->base.id);
drm_framebuffer_print_info(&p, 1, fb);