[Mesa-dev] [PATCH 2/8] i965: XML description of Haswell OA metric set

Kenneth Graunke kenneth at whitecape.org
Wed Mar 8 18:12:24 UTC 2017


On Friday, February 24, 2017 5:57:57 AM PST Robert Bragg wrote:
> In preparation for exposing Gen Observation Architecture performance
> counters via INTEL_performance_query this adds an XML description for an
> initial 'Render Metrics Basic Gen7.5' query and corresponding counters.
> 
> The intention is to auto generate code for building a query from these
> counters as well as the code for normalizing the individual counters.
> 
> Note that the upstream for this XML data is currently GPU Top:
> 
>   https://github.com/rib/gputop
> 
> The files are maintained under gputop-data/ and they are themselves
> derived from files in an internal 'MDAPI XML' schema. There are scripts
> under gputop-scripts/ and make rules in gputop-data/Makefile.xml for
> maintaining these files.
> 
> Signed-off-by: Robert Bragg <robert at sixbynine.org>
> ---
>  src/mesa/drivers/dri/i965/brw_oa_hsw.xml | 998 +++++++++++++++++++++++++++++++
>  1 file changed, 998 insertions(+)
>  create mode 100644 src/mesa/drivers/dri/i965/brw_oa_hsw.xml

I've wondered whether we ought to put these in src/intel/oa, for
possible future use in the Vulkan driver.  Or, just to get all the
OA related XML, scripts, and generated C files in their own directory
(since there end up being quite a few of them).

But it does seem a bit speculative...so...this is fine too.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170308/e1a54566/attachment.sig>


More information about the mesa-dev mailing list