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

Matthew Auld matthew.william.auld at gmail.com
Fri Aug 4 16:28:56 UTC 2017


On 4 August 2017 at 17:23, Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
> 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")
Tested-by: Matthew Auld <matthew.auld at intel.com
Reviewed-by: Matthew Auld <matthew.auld at intel.com>

> ---
>  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
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list