Quoting Matthew Auld (2019-10-29 09:58:53) > From: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > > If the aperture is not available in HW we can't use a ggtt slot and wc > copy, so fall back to regular kmap. > > Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > Signed-off-by: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxxxxxxxx> > Signed-off-by: Matthew Auld <matthew.auld@xxxxxxxxx> > --- > + } else if (i915_gem_object_is_lmem(vma->obj)) { > + struct intel_memory_region *mem = vma->obj->mm.region; > + dma_addr_t dma; > + > + for_each_sgt_daddr(dma, iter, vma->pages) { > + void __iomem *s; > + > + s = io_mapping_map_atomic_wc(&mem->iomap, dma); > + ret = compress_page(compress, s, dst); Just a (void __force *)s required here. Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx