[Intel-gfx] ✗ Ro.CI.BAT: failure for vga_switcheroo: Add helper for deferred probing

Ville Syrjälä ville.syrjala at linux.intel.com
Fri May 20 13:49:20 UTC 2016


On Thu, May 19, 2016 at 04:08:31PM -0000, Patchwork wrote:
> == Series Details ==
> 
> Series: vga_switcheroo: Add helper for deferred probing
> URL   : https://patchwork.freedesktop.org/series/7409/
> State : failure
> 
> == Summary ==
> 
> Series 7409v1 vga_switcheroo: Add helper for deferred probing
> http://patchwork.freedesktop.org/api/1.0/series/7409/revisions/1/mbox
> 
> Test drv_hangman:
>         Subgroup error-state-basic:
>                 fail       -> PASS       (ro-ilk1-i5-650)
> Test drv_module_reload_basic:
>                 dmesg-warn -> PASS       (fi-hsw-i7-4770r)
> Test kms_flip:
>         Subgroup basic-flip-vs-wf_vblank:
>                 fail       -> PASS       (ro-byt-n2820)
> Test kms_pipe_crc_basic:
>         Subgroup hang-read-crc-pipe-b:
>                 pass       -> FAIL       (fi-hsw-i7-4770r)


[  487.307292] [drm:pipe_crc_set_source] collecting CRCs for pipe B, pf
[  487.390551] [drm:pipe_crc_set_source] stopping CRCs for pipe B
[  487.423865] [drm:hsw_audio_codec_disable] Disable audio codec on pipe B
[  487.423882] [drm:intel_disable_pipe] disabling pipe B
...
[  498.853439] [drm:intel_get_hpd_pins] hotplug event received, stat 0x00200000, dig 0x00101012, pins 0x00000020
[  498.853447] [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 5 - cnt: 0
[  498.853535] [drm:i915_hotplug_work_func] running encoder hotplug functions
[  498.853549] [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 5) received hotplug event.
[  498.853563] [drm:intel_hdmi_detect] [CONNECTOR:37:HDMI-A-1]
[  498.941487] [drm:intel_hdmi_detect] HDMI live status down
[  498.941505] [drm:intel_hpd_irq_event] [CONNECTOR:37:HDMI-A-1] status updated from connected to disconnected
[  498.941844] [drm:pipe_crc_set_source] collecting CRCs for pipe B, pf
[  499.051160] [drm:intel_get_hpd_pins] hotplug event received, stat 0x00200000, dig 0x00101012, pins 0x00000020
[  499.051169] [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 5 - cnt: 1
[  499.051246] [drm:i915_hotplug_work_func] running encoder hotplug functions
[  499.051259] [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 5) received hotplug event.
[  499.051271] [drm:intel_hdmi_detect] [CONNECTOR:37:HDMI-A-1]
[  499.078751] [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1)
[  499.078756] [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, retry
[  499.078975] [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1)
[  499.078983] [drm:drm_detect_monitor_audio] Monitor has basic audio support
[  499.078987] [drm:intel_hpd_irq_event] [CONNECTOR:37:HDMI-A-1] status updated from disconnected to connected
[  500.827624] [drm:intel_print_rc6_info] Enabling RC6 states: RC6 on
[  500.827649] [drm:gen6_enable_rps] Overclocking supported. Max: 1300MHz, Overclock max: 1300MHz
[  503.942669] kms_pipe_crc_basic: exiting, ret=99

So we shut down the pipe, then the monitor got suddenly disconnected, we didn't
even try to enabled the pipe, tried to grab some CRCs, and then the monitor
re-appeared.

I think the attempt to grab CRCs from a disabled pipe is a race in igt_kms. The
same one that sometimes causes us to sometimes attempt a modeset with a too
small an FB. So basically for_each_connected_output() sees the old connected
state, but then later igt_display_commit() will refresh the state from the
kernel and decided that there's actually nothing to do, and then we just go
on thinking everything is fine. So we really need to remove the "refresh
from kernel" part from igt_display_commit(), or at least only sample that
information in the test once, at the very start.


> 
> fi-bdw-i7-5557u  total:219  pass:206  dwarn:0   dfail:0   fail:0   skip:13 
> fi-bsw-n3050     total:218  pass:174  dwarn:0   dfail:0   fail:2   skip:42 
> fi-byt-n2820     total:218  pass:175  dwarn:0   dfail:0   fail:2   skip:41 
> fi-hsw-i7-4770k  total:219  pass:198  dwarn:0   dfail:0   fail:0   skip:21 
> fi-hsw-i7-4770r  total:219  pass:192  dwarn:0   dfail:0   fail:1   skip:26 
> fi-skl-i7-6700k  total:219  pass:191  dwarn:0   dfail:0   fail:0   skip:28 
> ro-bdw-i5-5250u  total:217  pass:179  dwarn:0   dfail:0   fail:0   skip:38 
> ro-bdw-i7-5557U  total:217  pass:204  dwarn:0   dfail:0   fail:0   skip:13 
> ro-bdw-i7-5600u  total:217  pass:184  dwarn:0   dfail:0   fail:1   skip:32 
> ro-byt-n2820     total:216  pass:172  dwarn:0   dfail:0   fail:3   skip:41 
> ro-hsw-i3-4010u  total:216  pass:191  dwarn:0   dfail:0   fail:0   skip:25 
> ro-hsw-i7-4770r  total:217  pass:191  dwarn:0   dfail:0   fail:0   skip:26 
> ro-ilk-i7-620lm  total:217  pass:149  dwarn:0   dfail:0   fail:1   skip:67 
> ro-ilk1-i5-650   total:212  pass:150  dwarn:0   dfail:0   fail:1   skip:61 
> ro-ivb-i7-3770   total:217  pass:181  dwarn:0   dfail:0   fail:0   skip:36 
> ro-ivb2-i7-3770  total:217  pass:185  dwarn:0   dfail:0   fail:0   skip:32 
> ro-skl-i7-6700hq total:212  pass:187  dwarn:0   dfail:0   fail:0   skip:25 
> ro-snb-i7-2620M  total:217  pass:175  dwarn:0   dfail:0   fail:1   skip:41 
> ro-bsw-n3050 failed to connect after reboot
> 
> Results at /archive/results/CI_IGT_test/RO_Patchwork_943/
> 
> 521c3f7 drm-intel-nightly: 2016y-05m-19d-13h-07m-04s UTC integration manifest
> 2e50a25 vga_switcheroo: Add helper for deferred probing
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list