[PATCH 3/3] info

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 3 18:23:11 UTC 2017


---
 drivers/gpu/drm/i915/i915_gem_evict.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_gem_evict.c b/drivers/gpu/drm/i915/i915_gem_evict.c
index e3f9d377c8c9..7fbb1a151cb9 100644
--- a/drivers/gpu/drm/i915/i915_gem_evict.c
+++ b/drivers/gpu/drm/i915/i915_gem_evict.c
@@ -283,7 +283,11 @@ int i915_gem_evict_for_node(struct i915_address_space *vm,
 	GEM_BUG_ON(end > vm->start + vm->total);
 	GEM_BUG_ON(start >= end);
 
+	pr_info("%s: evict %llx - %llx (target %llx - %llx)\n", __func__, 
+		start, end, target->start, target->start + target->size);
 	drm_mm_for_each_node_in_range(node, &vm->mm, start, end) {
+		pr_info("%s: evicting node.start=%llx .size=%llx, allocated? %d\n",
+			__func__, node->start, node->size, node->allocated);
 		GEM_BUG_ON(!node->allocated);
 
 		/* If we find any non-objects (!vma), we cannot evict them */
-- 
2.11.0



More information about the Intel-gfx-trybot mailing list