[Intel-gfx] patches for occlusion query fix on sandybridge

Eric Anholt eric at anholt.net
Tue Dec 14 18:58:58 CET 2010


On Tue, 14 Dec 2010 12:55:59 +0800, Zhenyu Wang <zhenyuw at linux.intel.com> wrote:
> It appears Sandybridge PIPE_CONTROL write out buffer need
> to be set as cached, currently LLC cached, in order to read
> back correct counter. Otherwise I can always be possible to
> get corrupted 64-bit PS_DEPTH_COUNT from PIPE_CONTROL write.
> 
> So below patches try to add new flag during bo create with
> cacheable type, to be sure that GTT entry's cache bits would
> be setup for that.
> 
> This fixes occlusion query piglit test and mesa demos on my
> sandybridge. Note that below patches don't include necessary
> component version check changes.

Why don't we just keep all of our BOs LLC cached?  This was supposed to
be a big win of the new chipset, as it means we don't need to clflush.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20101214/f73b6204/attachment.sig>


More information about the Intel-gfx mailing list