On Wed, 22 Jun 2011 08:29:24 +0200, Daniel Vetter <dan...@ffwll.ch> wrote:
> The important thing is that you may never use the cpu mappings with > these functions (for objects of similar size). Because libdrm reuses > bos without checking their domain, you'll get tons of unnecessary > clflush even on objects that do not get accessed through the cpu > domain. Yeah, the problem is that a BO which is not pinned down may get paged out, in which case it lands in the CPU domain. I'm not sure we've ever added an optimization to avoid flushing objects which are known not to have been written to disk? -- keith.pack...@intel.com
pgp4lsDMD9vqo.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx