iris/perf: implement routines to return counter info
authorMark Janes <mark.a.janes@intel.com>
Mon, 22 Apr 2019 18:43:12 +0000 (11:43 -0700)
committerMark Janes <mark.a.janes@intel.com>
Sat, 10 Aug 2019 02:28:03 +0000 (19:28 -0700)
commit0fd4359733e6920d5cac9596eeada753a587a246
tree7c501737149b0fa19bd80ae7fbae7ff3593e8c8b
parente4aa0fc63a86be6f5e1015db66d6a4682b7d6876
iris/perf: implement routines to return counter info

With this commit, Iris will report that AMD_performance_monitor is
supported, and will allow the caller to query the available metrics.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_monitor.c [new file with mode: 0644]
src/gallium/drivers/iris/iris_monitor.h [new file with mode: 0644]
src/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/iris/iris_screen.h
src/gallium/drivers/iris/iris_state.c
src/gallium/drivers/iris/meson.build