]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/tegra: Use DRM_DEBUG_DRIVER for driver messages
authorThierry Reding <treding@nvidia.com>
Wed, 4 Sep 2019 11:00:30 +0000 (13:00 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:35 +0000 (11:18 +0100)
The driver-specific messages should use the DRM_UT_DRIVER category so
that they can be properly filtered.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c

index bc7cc32140f813b5650f1b63633efd125e1cc200..498d22a65616a9ae010ffa0b51dc9995e985442c 100644 (file)
@@ -163,10 +163,10 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags)
                drm_mm_init(&tegra->mm, gem_start, gem_end - gem_start + 1);
                mutex_init(&tegra->mm_lock);
 
-               DRM_DEBUG("IOMMU apertures:\n");
-               DRM_DEBUG("  GEM: %#llx-%#llx\n", gem_start, gem_end);
-               DRM_DEBUG("  Carveout: %#llx-%#llx\n", carveout_start,
-                         carveout_end);
+               DRM_DEBUG_DRIVER("IOMMU apertures:\n");
+               DRM_DEBUG_DRIVER("  GEM: %#llx-%#llx\n", gem_start, gem_end);
+               DRM_DEBUG_DRIVER("  Carveout: %#llx-%#llx\n", carveout_start,
+                                carveout_end);
        }
 
        if (tegra->hub) {