Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* patches for occlusion query fix on sandybridge
@ 2010-12-14  4:55 Zhenyu Wang
  2010-12-14  4:56 ` [PATCH] drm/i915: Add cached bo create interface Zhenyu Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Zhenyu Wang @ 2010-12-14  4:55 UTC (permalink / raw)
  To: intel-gfx

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.

thanks.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-15  1:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14  4:55 patches for occlusion query fix on sandybridge Zhenyu Wang
2010-12-14  4:56 ` [PATCH] drm/i915: Add cached bo create interface Zhenyu Wang
2010-12-14  4:56 ` [PATCH] intel: new interface for cached bo create Zhenyu Wang
2010-12-14  9:35   ` Chris Wilson
2010-12-14  4:56 ` [PATCH] i965: alloc cached bo for query object on Sandybridge Zhenyu Wang
2010-12-14 17:58 ` patches for occlusion query fix on sandybridge Eric Anholt
2010-12-14 20:59   ` david may
2010-12-14 21:47     ` Chris Wilson
2010-12-15  1:18       ` Zhenyu Wang
2010-12-14 18:13 ` Daniel Vetter
2010-12-15  1:29   ` Zhenyu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox