[PATCH 10/10] test

Chris Wilson chris at chris-wilson.co.uk
Sun Jul 7 08:04:13 UTC 2019


---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 109a81bb4d69..1bb196bf9cdd 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -943,7 +943,7 @@ static void __gen8_ppgtt_clear(struct i915_address_space *vm,
 		struct i915_page_table *pt = pd->entry[idx];
 
 		if (atomic_fetch_inc(&pt->used) >> pd_lvl(1) &&
-		    gen8_pd_index(*start, lvl - 1) == 0 &&
+		    gen8_pd_index(*start, lvl - 1) == 0 && 0 &&
 		    (end - *start) >> gen8_pd_shift(lvl)) {
 			clear_pd_entry(pd, idx, scratch);
 			__gen8_ppgtt_cleanup(vm, as_pd(pt), I915_PDES, lvl - 1);
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list