summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-05-29 08:43:34 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:55 -0700
commit2446f5cfd8408a69b3ebf2543f08b3ca2fb000d7 (patch)
tree323d0e2dae3f1b866f61cfc57fdbfe6d65d29245 /src/gallium
parent67675a58029c638064c2f6c6dc148c2bf737fafd (diff)
intel/perf: move perf-related constants to common location
The perf subsystem needs several macro definitions that were duplicated in Iris and i965 headers. Place these macros within perf, if the perf implementation contains the only references to the values. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_query.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c
index 0d2403cfa59..6d4a04f20b9 100644
--- a/src/gallium/drivers/iris/iris_query.c
+++ b/src/gallium/drivers/iris/iris_query.c
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <errno.h>
+#include "perf/gen_perf.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "pipe/p_context.h"