[Piglit] Test to exercise a race with r600-llvm [v2]

Mathias Fröhlich Mathias.Froehlich at gmx.net
Mon Aug 20 22:09:27 PDT 2012


Hi All,

On Monday, August 20, 2012 12:26:19 Tom Stellard wrote:
> On Wed, Aug 15, 2012 at 07:51:56AM +0200, Mathias Fröhlich wrote:
> > This new attached test points to a problem that I observe with
> > initializatiion of the llvm backend in todays r600 driver.
> > The new test concurrently, in two threads, creates a new context compiles
> > a
> > simple shader and destroys the context again.
> > The problem it points out is a race condition we have somewhere in
> > initialization of the llvm backend.
> > But since this is a race condition I see the test only with some
> > probability failing, even if the probability is for my test machine >
> > 90%.
> One minor thing, I think you should add the new test to the all.tests
> file.
Done.

> Otherwise:
> 
> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Would somebody with git commit rights to piglit mind applying this attached 
patch?
Thanks!

Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-test-for-concurrent-shader-compiler-use.patch
Type: text/x-patch
Size: 5824 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120821/535809c3/attachment.bin>


More information about the Piglit mailing list