Quoting Matthew Auld (2019-10-03 20:24:30) > +void __iomem *i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj, > + unsigned long n, > + unsigned long size) > +{ > + resource_size_t offset; > + > + GEM_BUG_ON(!(obj->flags & I915_BO_ALLOC_CONTIGUOUS)); GEM_BUG_ON(!i915_gem_object_is_contiguous(obj)); Just reads more clearly for me. Might just be me. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx