diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-01-16 14:07:30 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-02-09 10:51:59 +0100 |
commit | 3b32a1b9fade97ce5fe87f62ac394bf3b830feec (patch) | |
tree | 0ee6bf1ce84d61a845496f7637215e447835fe7c /drivers/gpu/drm/drm_mode_config.c | |
parent | drm/dp_mst: switch from drm_debug_printer() to device specific drm_dbg_printer() (diff) | |
download | linux-3b32a1b9fade97ce5fe87f62ac394bf3b830feec.tar.xz linux-3b32a1b9fade97ce5fe87f62ac394bf3b830feec.zip |
drm/mode: switch from drm_debug_printer() to device specific drm_dbg_printer()
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
Diffstat (limited to 'drivers/gpu/drm/drm_mode_config.c')
-rw-r--r-- | drivers/gpu/drm/drm_mode_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_mode_config.c b/drivers/gpu/drm/drm_mode_config.c index 8525ef851540..48fd2d67f352 100644 --- 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_debug_printer("[leaked fb]"); + struct drm_printer p = drm_dbg_printer(dev, DRM_UT_KMS, "[leaked fb]"); drm_printf(&p, "framebuffer[%u]:\n", fb->base.id); drm_framebuffer_print_info(&p, 1, fb); |