On Thu, 22 Sep 2011 16:27:10 -0700, Ben Widawsky <[email protected]> wrote:
> Querying a BO's cache level can help clients wishing to map the buffer.
> For example, an Ironlake machine could query the buffer to determine it
> should use GTT mappings, while a Sandybridge machine running the same
> code would prefer to use regular CPU mapped buffers since the cache is
> coherent.
> 
> Cc: Daniel Vetter <[email protected]>
> Cc: Eric Anholt <[email protected]>
> Cc: "Kilarski, Bernard R" <[email protected]>
> Signed-off-by: Ben Widawsky <[email protected]>

This is indeed useful.

Reviewed-by: Chris Wilson <[email protected]>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to