i965/iris/perf: factor out frequency register capture
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 16 Dec 2019 14:11:40 +0000 (16:11 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 18 Dec 2019 12:23:17 +0000 (14:23 +0200)
commitafdc0121b55e8543118c003307b20d90e14329e7
treebb82be7dc851731beb58157eca01fc75e7f75549
parent072e95e07ad940d95c78291c6422172346b74c50
i965/iris/perf: factor out frequency register capture

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3113>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3113>
src/gallium/drivers/iris/iris_perf.c
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h
src/mesa/drivers/dri/i965/brw_performance_query.c