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

Daniel Vetter daniel at ffwll.ch
Tue Dec 16 01:37:28 PST 2014


On Mon, Dec 15, 2014 at 11:50:24AM -0800, Jordan Justen wrote:
> 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?

If we go super strict with rule abi is locked down when I tag
drm-intel-next at the end of this weeek. But that's hair-splitting. So
yeah, as soon as all the mesa depencies have landed you can just go ahead
with your patches.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list