[Intel-gfx] ✗ Fi.CI.BAT: failure for tests: add i915 query tests
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Dec 18 16:52:54 UTC 2017
Oops, forgot to send the patch dumping the i915 headers :(
On 18/12/17 16:49, Patchwork wrote:
> == Series Details ==
>
> Series: tests: add i915 query tests
> URL : https://patchwork.freedesktop.org/series/35520/
> State : failure
>
> == Summary ==
>
> IGT patchset build failed on latest successful build
> c0be3310715e2f744b892c51f09e62273bcc8e57 tests/kms_frontbuffer_tracking: Correctly handle debugfs errors
>
> struct drm_i915_query_item item;
> ^~~~
> query.c:190:18: error: ‘DRM_I915_QUERY_ID_EUS_MASK’ undeclared (first use in this function)
> item.query_id = DRM_I915_QUERY_ID_EUS_MASK;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from ./../lib/intel_batchbuffer.h:8:0,
> from ./../lib/drmtest.h:39,
> from ./../lib/igt.h:27,
> from query.c:24:
> query.c:191:15: error: ‘DRM_IOCTL_I915_QUERY’ undeclared (first use in this function)
> do_ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
> ^
> ./../lib/igt_core.h:396:15: note: in definition of macro ‘igt_assert_cmpint’
> int __n1 = (n1), __n2 = (n2); \
> ^~
> ./../lib/drmtest.h:103:2: note: in expansion of macro ‘igt_assert_eq’
> igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), 0); \
> ^~~~~~~~~~~~~
> query.c:191:2: note: in expansion of macro ‘do_ioctl’
> do_ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
> ^~~~~~~~
> query.c:199:13: error: dereferencing pointer to incomplete type ‘struct drm_i915_query_eus_mask’
> eus_mask->n_slices, eus_mask->slice_stride, eus_mask->subslice_stride);
> ^
> ./../lib/igt_core.h:795:64: note: in definition of macro ‘igt_debug’
> #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
> ^
> query.c:176:29: warning: unused variable ‘item’ [-Wunused-variable]
> struct drm_i915_query_item item;
> ^~~~
> query.c:175:24: warning: unused variable ‘query’ [-Wunused-variable]
> struct drm_i915_query query;
> ^~~~~
> query.c: In function ‘has_query_supports’:
> query.c:33:1: error: control reaches end of non-void function [-Werror=return-type]
> }
> ^
> query.c: In function ‘query_topology_supported’:
> query.c:86:1: error: control reaches end of non-void function [-Werror=return-type]
> }
> ^
> cc1: some warnings being treated as errors
> Makefile:3922: recipe for target 'query.o' failed
> make[3]: *** [query.o] Error 1
> Makefile:4323: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> Makefile:531: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> Makefile:463: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
More information about the Intel-gfx
mailing list