Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/fbdev: stop debug logging i915_ggtt_offset()

The debug logging in fbdev is the only user of i915_ggtt_offset() in
display code. Just stop doing it to drop a dependency on i915_vma.h.

Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/c3b84cb572c7ee94389e702aba4dcacb26c41673.1772212579.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+1 -4
+1 -4
drivers/gpu/drm/i915/display/intel_fbdev.c
··· 47 47 #include <drm/drm_managed.h> 48 48 #include <drm/drm_print.h> 49 49 50 - #include "i915_vma.h" 51 50 #include "intel_bo.h" 52 51 #include "intel_display_core.h" 53 52 #include "intel_display_rpm.h" ··· 342 343 343 344 /* Use default scratch pixmap (info->pixmap.flags = FB_PIXMAP_SYSTEM) */ 344 345 345 - drm_dbg_kms(display->drm, "allocated %dx%d fb: 0x%08x\n", 346 - fb->base.width, fb->base.height, 347 - i915_ggtt_offset(vma)); 346 + drm_dbg_kms(display->drm, "allocated %dx%d fb\n", fb->base.width, fb->base.height); 348 347 ifbdev->fb = fb; 349 348 ifbdev->vma = vma; 350 349 ifbdev->vma_flags = flags;