Message ID | 571A02E9.1020108@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- drivers/gpu/drm/i915/i915_gem_gtt.c +++ cocci-output-24681-2f2e3b-i915_gem_gtt.c @@ -3255,7 +3255,7 @@ void i915_gem_restore_gtt_mappings(struc list_for_each_entry(obj, &dev_priv->mm.bound_list, global_list) { flush = false; list_for_each_entry(vma, &obj->vma_list, obj_link) { - if (vma->vm != &ggtt->base) + if (!vma->is_ggtt) continue; Cocci: