[Intel-gfx] [PATCH] drm/i915: Add GPGPU_THREADS_DISPATCHED to the register whitelist

Jordan Justen jordan.l.justen at intel.com
Mon Dec 15 11:50:24 PST 2014


On 2014-12-15 06:59:16, Daniel Vetter wrote:
> On Thu, Dec 11, 2014 at 03:48:20PM -0800, Ben Widawsky wrote:
> > On Thu, Dec 11, 2014 at 01:28:09PM -0800, Jordan Justen wrote:
> > > This will allow us to read the number of dispatched compute threads
> > > for GL_ARB_pipeline_statistics_query.
> 
> Just so we have all the formally required pieces: Can you please supply a
> link to the mesa code for this? I'm a bit behind on reading mesa-dev.

This is an early hacked version of mesa that uses the register:
http://cgit.freedesktop.org/~jljusten/mesa/log/?h=cs%2bps

I veried reading the register with the modified mesa and a piglit
test. I first tested with the cmd parser disabled, and then with this
patch.

I'm waiting for the initial GL_ARB_pipeline_statistics_query extension
(without CS support) to make it upstream in mesa before finishing and
sending out the CS support.

If this is in next, can I proceed to upstream a mesa patch that
depends on version 3 of the command parser? Or, should I wait until
this makes it fully upstream?

-Jordan


More information about the Intel-gfx mailing list