Quoting Chris Wilson (2020-01-01 22:09:27) > + ptes = mem; > + for_each_sgt_daddr(addr, sgt_iter, sgt) > + **ptes++ = io_wc_pte(addr); Addr is just relative to the start of lmem, this needs the iobar offset as well. That magic is that using any old physical address just works, until you hit something important! -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx