DragonFlyBSD Kernel Audit
DF-1975 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/drm/i915/i915_gem_evict.c b/sys/dev/drm/i915/i915_gem_evict.c
--- a/sys/dev/drm/i915/i915_gem_evict.c
+++ b/sys/dev/drm/i915/i915_gem_evict.c
@@ -153,7 +153,7 @@
 	 * On each list, the oldest objects lie at the HEAD with the freshest
 	 * object on the TAIL.
 	 */
-	kprintf("i915_gem_evict_something: %016llx-%016llx\n", start, end);
+	DRM_DEBUG_DRIVER("i915_gem_evict_something: %016llx-%016llx\n", start, end);
 	mode = DRM_MM_INSERT_BEST;
 	if (flags & PIN_HIGH)
 		mode = DRM_MM_INSERT_HIGH;
@@ -197,7 +197,7 @@
 	 */
 	if (!i915_is_ggtt(vm) || flags & PIN_NONBLOCK)
 		return -ENOSPC;
-	kprintf("i915_gem_evict_something: Nothing found %d,%d\n",
+	DRM_DEBUG_DRIVER("i915_gem_evict_something: Nothing found %d,%d\n",
 		ggtt_is_idle(dev_priv),
 		intel_has_pending_fb_unpin(dev_priv));