On Mon, 19 Sep 2011 21:25:03 -0700, Ben Widawsky <b...@bwidawsk.net> wrote: > When doing a GTT mapping, the pages are not backed until taking a fault. > If we know that the object is write only, when the fault happens we do not > need > to make the pages coherent with the CPU. This allows for semi fast prefaults > to occur in libdrm at map time.
Every time I see this stuff, I get confused by the term 'write-only'. Reading through the code, I remind myself that what you're actually promising is that any CPU accesses to the object will not overlap any potential writes by the GPU. The CPU could be reading or writing, it really doesn't matter. Really what you want is a kernel call that does everything except block on the GPU, right? -- keith.pack...@intel.com
pgpBld5kSmjo5.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx