[Mesa-dev] [PATCH 09/19] intel/perf: stub gen10/11 missing definitions

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Jun 18 17:39:30 UTC 2018


---
 src/intel/perf/gen_perf_mdapi.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/perf/gen_perf_mdapi.h b/src/intel/perf/gen_perf_mdapi.h
index a2f8066dcf4..45fe171b030 100644
--- a/src/intel/perf/gen_perf_mdapi.h
+++ b/src/intel/perf/gen_perf_mdapi.h
@@ -108,6 +108,10 @@ struct gen9_mdapi_metrics {
    uint32_t Reserved4;
 };
 
+/* Add new definition */
+#define gen10_mdapi_metrics gen9_mdapi_metrics
+#define gen11_mdapi_metrics gen9_mdapi_metrics
+
 struct mdapi_pipeline_metrics {
    uint64_t IAVertices;
    uint64_t IAPrimitives;
-- 
2.17.1



More information about the mesa-dev mailing list