Re: [PATCH i-g-t 00/11] Improve robustness of the i915 perf tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 04, 2017 at 12:20:29PM +0100, Lionel Landwerlin wrote:
> Hi all,
> 
> This is a resend of a series that was posted a few months ago. I've
> pushed all the patches that has a Rb. This is a shorter list but
> pretty important to make the tests more stable.


perf.c:233:3: error: ‘I915_OA_FORMAT_A12’ undeclared here (not in a function)
  [I915_OA_FORMAT_A12] = {
   ^~~~~~~~~~~~~~~~~~
perf.c:233:3: error: array index in initializer not of integer type
perf.c:233:3: note: (near initialization for ‘oa_formats’)
perf.c:233:25: warning: excess elements in array initializer
  [I915_OA_FORMAT_A12] = {
   ^
perf.c:233:25: note: (near initialization for ‘oa_formats’)
perf.c:237:3: error: ‘I915_OA_FORMAT_A12_B8_C8’ undeclared here (not in a function)
  [I915_OA_FORMAT_A12_B8_C8] = {
   ^~~~~~~~~~~~~~~~~~~~~~~~
perf.c:237:3: error: array index in initializer not of integer type
perf.c:237:3: note: (near initialization for ‘oa_formats’)
perf.c:237:31: warning: excess elements in array initializer
  [I915_OA_FORMAT_A12_B8_C8] = {
   ^
perf.c:237:31: note: (near initialization for ‘oa_formats’)
perf.c:243:3: error: ‘I915_OA_FORMAT_A32u40_A4u32_B8_C8’ undeclared here (not in a function)
  [I915_OA_FORMAT_A32u40_A4u32_B8_C8] = {
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Those tokens have local definitions but only if DRM_I915_PERF_OPEN is
not present. For older (iow current) libdrm with PERF_OPEN but without
those new format tokens, we get this build error. Please fix asap.


--
Petri Latvala
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux