Iris metrics

Mark Janes requested to merge majanes/mesa:iris_metrics into master

This merge request provides GPU metrics for Iris. The commits are structured in 3 phases:

  1. migrate functions from i965 into intel/perf, where they can be called by i965 and iris. Each patch should be easily reviewed as a straight move/rename refactor.
  2. remove functions and structs from the intel/perf interface, when they are no longer called directly by i965
  3. implement the gallium hooks that provide metrics for AMD_performance_monitor

Merge request reports