[igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_setmode: Fix to get a valid config

Patchwork patchwork at emeril.freedesktop.org
Fri Aug 6 10:44:53 UTC 2021


== Series Details ==

Series: tests/kms_setmode: Fix to get a valid config
URL   : https://patchwork.freedesktop.org/series/93450/
State : failure

== Summary ==

IGT patchset build failed on latest successful build
2f32b9e0da5f1ac9529318dd5b836c8cf4d3c441 tests/i915/gem_exec_fence: use device_coherent mmap

[122/427] Linking target tests/kms_flip_event_leak.
[123/427] Linking target tests/kms_flip_scaled_crc.
[124/427] Linking target tests/kms_flip.
[125/427] Linking target tests/i915_pm_rps.
[126/427] Linking target tests/i915_pm_dc.
[127/427] Linking target tests/vc4_tiling.
[128/427] Linking target tests/kms_hdmi_inject.
[129/427] Linking target tests/kms_frontbuffer_tracking.
[130/427] Linking target tests/kms_force_connector_basic.
[131/427] Linking target tests/kms_getfb.
[132/427] Linking target tests/kms_legacy_colorkey.
[133/427] Linking target tests/kms_lease.
[134/427] Linking target tests/kms_hdr.
[135/427] Linking target tests/kms_invalid_dotclock.
[136/427] Linking target tests/kms_multipipe_modeset.
[137/427] Linking target tests/kms_mmap_write_crc.
[138/427] Linking target tests/kms_panel_fitting.
[139/427] Linking target tests/kms_pipe_b_c_ivb.
[140/427] Linking target tools/intel_residency.
[141/427] Linking target tools/intel_reg_checker.
[142/427] Linking target tools/intel_gem_info.
[143/427] Linking target tools/intel_stepping.
[144/427] Linking target tests/kms_plane_multiple.
[145/427] Linking target tests/kms_plane_cursor.
[146/427] Linking target tests/kms_plane_lowres.
[147/427] Linking target tests/kms_plane_scaling.
[148/427] Linking target tests/kms_prime.
[149/427] Linking target tests/kms_prop_blob.
[150/427] Linking target tests/kms_properties.
[151/427] Linking target tests/kms_psr.
[152/427] Linking target tests/kms_psr2_su.
[153/427] Linking target tests/kms_psr2_sf.
[154/427] Linking target tests/kms_pwrite_crc.
[155/427] Compiling C object 'tests/tests@@kms_setmode at exe/kms_setmode.c.o'.
FAILED: tests/tests@@kms_setmode at exe/kms_setmode.c.o 
ccache cc -Itests/tests@@kms_setmode at exe -Itests -I../tests -I../include/drm-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/alsa -I/usr/include -I/home/cidrm/kernel_headers/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fcommon -pthread  -MD -MQ 'tests/tests@@kms_setmode at exe/kms_setmode.c.o' -MF 'tests/tests@@kms_setmode at exe/kms_setmode.c.o.d' -o 'tests/tests@@kms_setmode at exe/kms_setmode.c.o' -c ../tests/kms_setmode.c
../tests/kms_setmode.c: In function ‘setup_crtcs’:
../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
     !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
                                                               ^
                                                               )
    config_valid = false;
    ~~~~~~~~~~~~                                                
../tests/kms_setmode.c:363:6: note: to match this ‘(’
   if (encoder_usage_count[i] > 1 &&
      ^
../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
 }
 ^
ninja: build stopped: subcommand failed.




More information about the igt-dev mailing list