[Mesa-dev] [PATCH 07/11] i965: perf: extract utility functions

Kenneth Graunke kenneth at whitecape.org
Fri Mar 23 17:09:20 UTC 2018


On Thursday, March 8, 2018 7:42:52 AM PDT Lionel Landwerlin wrote:
> We would like to reuse a number of the functions and structures in
> another file in a future commit.
> 
> We also move the previous content of brw_performance_query.h into
> brw_performance_query_metrics.h to be included by generated metrics
> files.
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  src/mesa/drivers/dri/i965/Makefile.sources         |   1 +
>  src/mesa/drivers/dri/i965/brw_oa.py                |   2 +-
>  src/mesa/drivers/dri/i965/brw_performance_query.c  | 299 +++++----------------
>  src/mesa/drivers/dri/i965/brw_performance_query.h  | 186 +++++++++++--
>  .../dri/i965/brw_performance_query_metrics.h       |  57 ++++
>  src/mesa/drivers/dri/i965/meson.build              |   1 +
>  6 files changed, 294 insertions(+), 252 deletions(-)
>  create mode 100644 src/mesa/drivers/dri/i965/brw_performance_query_metrics.h

patch did a fine job of mangling these motions, but they all look okay
once you detangle them :)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- 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/20180323/8dc24428/attachment.sig>


More information about the mesa-dev mailing list