From 79d6f77fa1ff33f198d954a3c7f1028322fcce52 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 4 Aug 2017 17:23:00 +0100 Subject: tests/perf: follow up build fix Signed-off-by: Lionel Landwerlin Fixes: adcde8ac ("tests/perf: fix build where system headers don't have Gen8 formats") Tested-by: Matthew Auld Reviewed-by: Daniel Stone --- tests/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/perf.c') 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, }; -- cgit v1.2.3