intel/perf: move get_query_data into gen_perf
authorMark Janes <mark.a.janes@intel.com>
Sat, 29 Jun 2019 01:16:07 +0000 (18:16 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 04:33:56 +0000 (21:33 -0700)
commit9f84efb452f810494e8ba78a68b56444e343e5f6
tree4b47af7c22a763863b46cc4948e93e2d73ffba74
parent73eccdc4a5d04196f5d437b285dabd10043b01f4
intel/perf: move get_query_data into gen_perf

This refactor moves several helper functions for get_query_data as
well:

 - accumulate_oa_reports
 - read_gt_frequency
 - get_pipeline_stats_data
 - get_oa_counter_data

Functions which are no longer referenced in brw_performance_query.c
have been removed.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_performance_query.c