[Intel-gfx] [PATCH i-g-t] tests/perf: follow up build fix

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Aug 4 16:23:00 UTC 2017


Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: adcde8ac ("tests/perf: fix build where system headers don't have Gen8 formats")
---
 tests/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/perf.c b/tests/perf.c
index 9cfc4bb9..a7fa33a1 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -146,7 +146,7 @@ enum drm_i915_perf_record_type {
 /* There is no ifdef we can use for those formats :( */
 enum {
 	local_I915_OA_FORMAT_A12 = I915_OA_FORMAT_C4_B8 + 1,
-	local_I915_OA_FORMAT_A12_B8_C8 = I915_OA_FORMAT_A12 + 2,
+	local_I915_OA_FORMAT_A12_B8_C8 = I915_OA_FORMAT_C4_B8 + 2,
 	local_I915_OA_FORMAT_A32u40_A4u32_B8_C8 = I915_OA_FORMAT_C4_B8 + 3,
 };
 
-- 
2.13.3



More information about the Intel-gfx mailing list