Created attachment 102844 [details] dmesg ==System Environment== -------------------------- Regression: Yes Here has a bug 79290 on -next-queued(d3b448d9917a3d6531e499d88bfb13ea5e31e4ad) Non-working platforms: BSW ==kernel== -------------------------- origin/drm-intel-nightly: 2a38e1bcd4dc9523cd723291340226d139bece1b(fails) drm-intel-nightly: 2014y-07m-14d-23h-18m-30s integration manifest origin/drm-intel-next-queued: ebcdf5276e6e2ddef6a4fd7716684030301a6fed(fails) drm/i915: Handle failure to kick out a conflicting fb driver origin/drm-intel-fixes: c6930992948adf0f8fc1f6ff1da51c5002a2cf95(fails) Revert "drm/i915: reverse dp link param selection, prefer fast over wide again" ==Bug detailed description== igt/kms_mmio_vs_cs_flip/setcrtc_vs_cs_flip fails Output: [root@x-ivb9 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.7-g3f50598 (x86_64) (Linux: 3.16.0-rc4_drm-intel-next-queued_ebcdf5_20140715+ x86_64) Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1475: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest setcrtc_vs_cs_flip: FAIL ==Reproduce steps== ---------------------------- 1. ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip
igt/kms_plane/plane-position-covered-pipe-C-plane-1 has the same issue [root@x-ivb9 tests]# ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1 IGT-Version: 1.7-g3f50598 (x86_64) (Linux: 3.16.0-rc4_drm-intel-next-queued_ebcdf5_20140715+ x86_64) Testing connector VGA-1 using pipe C plane 1 Testing connector DP-2 using pipe C plane 1 Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1475: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest plane-position-covered-pipe-C-plane-1: FAIL
This bug still able to reproduce on BDW while running subcase of igt/kms_plane root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-1 IGT-Version: 1.7-gbffef22 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_af1aab_20140724+ x86_64) Testing connector eDP-1 using pipe B plane 1 Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1475: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest plane-position-covered-pipe-B-plane-1: FAIL root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_pipe_crc_basic --run-subtest read-crc-pipe-B IGT-Version: 1.7-gbffef22 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_af1aab_20140724+ x86_64) read-crc-pipe-B: Testing connector eDP-1 using pipe B Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1475: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest read-crc-pipe-B: FAIL
==Bisect results== ---------------------------- Bisect shows: d49bdb0e1054d022cc6f88fcecf9c79bae66eab0 is the first bad commit commit d49bdb0e1054d022cc6f88fcecf9c79bae66eab0 Author: Paulo Zanoni <paulo.r.zanoni@intel.com> AuthorDate: Fri Jul 4 11:50:31 2014 -0300 Commit: Daniel Vetter <daniel.vetter@ffwll.ch> CommitDate: Wed Jul 23 07:05:32 2014 +0200 drm/i915: extract and improve gen8_irq_power_well_post_enable Move it from hsw_power_well_post_enable() (intel_pm.c) to i915_irq.c so we can reuse the nice IRQ macros we have there. The main difference is that now we're going to check if the IIR register is non-zero when we try to re-enable the interrupts.
This fail still able to reproduce while running test igt/kms_rotation_crc/sprite-rotation [root@x-bdw01 tests]# ./kms_rotation_crc --run-subtest sprite-rotation IGT-Version: 1.7-g17d63e4 (x86_64) (Linux: 3.16.0_drm-intel-nightly_79e44b_20140806+ x86_64) Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1480: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest sprite-rotation: FAIL
This bug still able to reproduce on BDW on latest -nightly(2b6e6b9c29dbdaf596cad99877384af8b406d103) while running tests below igt/kms_pipe_crc_basic/read-crc-pipe-B igt/kms_pipe_crc_basic/read-crc-pipe-B-frame-sequence igt/kms_pipe_crc_basic/read-crc-pipe-C igt/kms_pipe_crc_basic/read-crc-pipe-C-frame-sequence igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-1 igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-2 igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-1 igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-2 igt/kms_plane/plane-panning-top-left-pipe-B-plane-1 igt/kms_plane/plane-panning-top-left-pipe-B-plane-2 igt/kms_plane/plane-panning-top-left-pipe-C-plane-1 igt/kms_plane/plane-panning-top-left-pipe-C-plane-2 igt/kms_plane/plane-position-covered-pipe-B-plane-1 igt/kms_plane/plane-position-covered-pipe-B-plane-2 igt/kms_plane/plane-position-covered-pipe-C-plane-1 igt/kms_plane/plane-position-covered-pipe-C-plane-2 igt/kms_plane/plane-position-hole-pipe-B-plane-1 igt/kms_plane/plane-position-hole-pipe-B-plane-2 igt/kms_plane/plane-position-hole-pipe-C-plane-1 igt/kms_plane/plane-position-hole-pipe-C-plane-2 igt/kms_universal_plane/disable-primary-vs-flip-pipe-B igt/kms_universal_plane/disable-primary-vs-flip-pipe-C igt/kms_universal_plane/universal-plane-pipe-B-functional igt/kms_universal_plane/universal-plane-pipe-B-sanity igt/kms_universal_plane/universal-plane-pipe-C-functional igt/kms_universal_plane/universal-plane-pipe-C-sanity Output: root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-B IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_drm-intel-nightly_2b6e6b_20140815+ x86_64) Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1582: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest disable-primary-vs-flip-pipe-B: FAIL
Test failed while running test igt/kms_flip_event_leak on BDW root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip_event_leak IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_e91331_20140828+ x86_64) Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1597: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy
Could you retest with latest -nightly? The following could fix this: commit d6bbafa183793537d8dca4d4c2e448805e59448a Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Sep 5 07:13:24 2014 +0100 drm/i915: Check for a stalled page flip after each vblank and commit 9c787942907face82da505c2c5493998b56cfc5a Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Sep 5 07:13:25 2014 +0100 drm/i915: Decouple the stuck pageflip on modeset
(In reply to comment #7) > Could you retest with latest -nightly? The following could fix this: > > commit d6bbafa183793537d8dca4d4c2e448805e59448a > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Fri Sep 5 07:13:24 2014 +0100 > > drm/i915: Check for a stalled page flip after each vblank > > > and > > commit 9c787942907face82da505c2c5493998b56cfc5a > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Fri Sep 5 07:13:25 2014 +0100 > > drm/i915: Decouple the stuck pageflip on modeset The failure unable to reproduce on IVB [root@x-ivb9 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-g4b81e9c (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_1c38db_20140924_debug+ x86_64) Subtest setcrtc_vs_cs_flip: SUCCESS (2.606s) But still able to reproduce on BDW root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.7-g5f16ef6 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_0f7cc1_20140925+ x86_64) Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1597: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest setcrtc_vs_cs_flip: FAIL
The pipe's dead, it will flip no more until we reset it with a modeset: [ 133.193563] [drm:intel_dp_set_signal_levels] Using signal levels 00000000 [ 133.200190] [drm:drm_dp_dpcd_access] too many retries, giving up [ 133.200191] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training [ 133.206824] [drm:drm_dp_dpcd_access] too many retries, giving up [ 133.206825] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization [ 133.222769] [drm:cpt_verify_modeset] *ERROR* mode set failed: pipe B stuck [ 133.222772] [drm:intel_update_fbc] more than one pipe active, disabling compression [ 133.222778] [drm:intel_connector_check_state] [CONNECTOR:16:VGA-1] [ 133.222783] [drm:check_encoder_state] [ENCODER:17:DAC-17] [ 133.222786] [drm:check_encoder_state] [ENCODER:18:TMDS-18] [ 133.222787] [drm:check_encoder_state] [ENCODER:22:TMDS-22] [ 133.222789] [drm:check_encoder_state] [ENCODER:24:TMDS-24] [ 133.222790] [drm:check_encoder_state] [ENCODER:26:TMDS-26] [ 133.222792] ------------[ cut here ]------------ [ 133.222801] WARNING: CPU: 0 PID: 3822 at drivers/gpu/drm/i915/intel_display.c:10529 intel_modeset_check_state+0x2fa/0x5eb [i915]() [ 133.222801] encoder's hw state doesn't match sw tracking (expected 1, found 0) [ 133.222807] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support dcdbas pcspkr serio_raw i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery tpm_tis tpm acpi_cpufreq i915 video button drm_kms_helper drm [ 133.222809] CPU: 0 PID: 3822 Comm: kms_mmio_vs_cs_ Tainted: G W 3.16.0-rc4_drm-intel-next-queued_ebcdf5_20140715+ #522 [ 133.222810] Hardware name: Dell Inc. OptiPlex 9010/03JR84, BIOS A01 05/04/2012 [ 133.222811] 0000000000000000 0000000000000009 ffffffff817803ed ffff880002e0b928 [ 133.222812] ffffffff8103986c ffff880002e0b920 ffffffffa00b15d0 0000000000000297 [ 133.222812] ffff880114203800 ffff88011850f000 0000000000000000 ffff88011850f308 [ 133.222813] Call Trace: [ 133.222815] [<ffffffff817803ed>] ? dump_stack+0x41/0x51 [ 133.222816] [<ffffffff8103986c>] ? warn_slowpath_common+0x78/0x90 [ 133.222822] [<ffffffffa00b15d0>] ? intel_modeset_check_state+0x2fa/0x5eb [i915] [ 133.222824] [<ffffffff8103991c>] ? warn_slowpath_fmt+0x45/0x4a [ 133.222831] [<ffffffffa00ab800>] ? __intel_set_mode+0x10e5/0x127b [i915] [ 133.222836] [<ffffffffa00b15d0>] ? intel_modeset_check_state+0x2fa/0x5eb [i915] [ 133.222841] [<ffffffffa00b18de>] ? intel_set_mode+0x1d/0x27 [i915] [ 133.222847] [<ffffffffa00b24ab>] ? intel_crtc_set_config+0x705/0xa5b [i915] [ 133.222852] [<ffffffffa000bf3b>] ? drm_mode_set_config_internal+0x4b/0xb3 [drm] [ 133.222854] [<ffffffffa004bf94>] ? restore_fbdev_mode+0x8f/0xa8 [drm_kms_helper] [ 133.222855] [<ffffffffa004bfca>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper] [ 133.222857] [<ffffffffa004d1e2>] ? drm_fb_helper_set_par+0x39/0x58 [drm_kms_helper] [ 133.222863] [<ffffffffa00bb400>] ? intel_fbdev_set_par+0x11/0x55 [i915] [ 133.222865] [<ffffffff8136d4e5>] ? fb_set_var+0x246/0x32c [ 133.222866] [<ffffffff81105579>] ? kmem_cache_alloc_trace+0x2a/0xfc [ 133.222867] [<ffffffff813a8b2e>] ? check_tty_count+0x1c/0x93 [ 133.222868] [<ffffffff813658ac>] ? fbcon_blank+0x71/0x230 [ 133.222870] [<ffffffff813bb360>] ? do_unblank_screen+0xef/0x169 [ 133.222871] [<ffffffff813b39b7>] ? vt_ioctl+0x4b0/0xf7f [ 133.222874] [<ffffffffa0002f8c>] ? drm_ioctl+0x27a/0x3c0 [drm] [ 133.222875] [<ffffffff813ac101>] ? tty_ioctl+0x8bc/0x92b [ 133.222877] [<ffffffff81117c59>] ? do_filp_open+0x2d/0x75 [ 133.222878] [<ffffffff81119973>] ? do_vfs_ioctl+0x3ec/0x435 [ 133.222879] [<ffffffff8112145c>] ? __fd_install+0x15/0x43 [ 133.222880] [<ffffffff81119a05>] ? SyS_ioctl+0x49/0x78 [ 133.222881] [<ffffffff8109f1b0>] ? __audit_syscall_exit+0x209/0x225 [ 133.222882] [<ffffffff81785f92>] ? system_call_fastpath+0x16/0x1b [ 133.222883] ---[ end trace 1f369a48870428f8 ]--- [ 133.222884] [drm:check_crtc_state] [CRTC:6] [ 133.222897] [drm:check_crtc_state] [CRTC:10] [ 133.222907] [drm:intel_pipe_config_compare] *ERROR* mismatch in has_dp_encoder (expected 1, found 0) [ 133.222907] ------------[ cut here ]------------ [ 133.222914] WARNING: CPU: 0 PID: 3822 at drivers/gpu/drm/i915/intel_display.c:10601 check_crtc_state+0x8a5/0x8dd [i915]() [ 133.222914] pipe state doesn't match! [ 133.222920] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support dcdbas pcspkr serio_raw i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery tpm_tis tpm acpi_cpufreq i915 video button drm_kms_helper drm [ 133.222921] CPU: 0 PID: 3822 Comm: kms_mmio_vs_cs_ Tainted: G W 3.16.0-rc4_drm-intel-next-queued_ebcdf5_20140715+ #522 [ 133.222921] Hardware name: Dell Inc. OptiPlex 9010/03JR84, BIOS A01 05/04/2012 [ 133.222922] 0000000000000000 0000000000000009 ffffffff817803ed ffff880002e0b658 [ 133.222923] ffffffff8103986c ffff880002e0b650 ffffffffa00a4e2a 0000000000000002 [ 133.222924] ffff880002db3000 ffff88011850f000 ffff880002e0b6e0 ffff880002db3700 [ 133.222924] Call Trace: [ 133.222925] [<ffffffff817803ed>] ? dump_stack+0x41/0x51 [ 133.222927] [<ffffffff8103986c>] ? warn_slowpath_common+0x78/0x90 [ 133.222932] [<ffffffffa00a4e2a>] ? check_crtc_state+0x8a5/0x8dd [i915] [ 133.222934] [<ffffffff8103991c>] ? warn_slowpath_fmt+0x45/0x4a [ 133.222939] [<ffffffffa00a4e2a>] ? check_crtc_state+0x8a5/0x8dd [i915] [ 133.222946] [<ffffffffa00ab800>] ? __intel_set_mode+0x10e5/0x127b [i915] [ 133.222951] [<ffffffffa00b1619>] ? intel_modeset_check_state+0x343/0x5eb [i915] [ 133.222957] [<ffffffffa00b18de>] ? intel_set_mode+0x1d/0x27 [i915] [ 133.222962] [<ffffffffa00b24ab>] ? intel_crtc_set_config+0x705/0xa5b [i915] [ 133.222966] [<ffffffffa000bf3b>] ? drm_mode_set_config_internal+0x4b/0xb3 [drm] [ 133.222968] [<ffffffffa004bf94>] ? restore_fbdev_mode+0x8f/0xa8 [drm_kms_helper] [ 133.222970] [<ffffffffa004bfca>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper] [ 133.222972] [<ffffffffa004d1e2>] ? drm_fb_helper_set_par+0x39/0x58 [drm_kms_helper] [ 133.222978] [<ffffffffa00bb400>] ? intel_fbdev_set_par+0x11/0x55 [i915] [ 133.222979] [<ffffffff8136d4e5>] ? fb_set_var+0x246/0x32c [ 133.222980] [<ffffffff81105579>] ? kmem_cache_alloc_trace+0x2a/0xfc [ 133.222981] [<ffffffff813a8b2e>] ? check_tty_count+0x1c/0x93 [ 133.222983] [<ffffffff813658ac>] ? fbcon_blank+0x71/0x230 [ 133.222984] [<ffffffff813bb360>] ? do_unblank_screen+0xef/0x169 [ 133.222985] [<ffffffff813b39b7>] ? vt_ioctl+0x4b0/0xf7f [ 133.222989] [<ffffffffa0002f8c>] ? drm_ioctl+0x27a/0x3c0 [drm] [ 133.222990] [<ffffffff813ac101>] ? tty_ioctl+0x8bc/0x92b [ 133.222991] [<ffffffff81117c59>] ? do_filp_open+0x2d/0x75 [ 133.222992] [<ffffffff81119973>] ? do_vfs_ioctl+0x3ec/0x435 [ 133.222993] [<ffffffff8112145c>] ? __fd_install+0x15/0x43 [ 133.222994] [<ffffffff81119a05>] ? SyS_ioctl+0x49/0x78 [ 133.222996] [<ffffffff8109f1b0>] ? __audit_syscall_exit+0x209/0x225 [ 133.222997] [<ffffffff81785f92>] ? system_call_fastpath+0x16/0x1b [ 133.222997] ---[ end trace 1f369a48870428f9 ]--- Where is the error propagation!
Hi Can you please retest this against drm-intel-nightly on BDW? We recently merged "drm/i915: properly reenable gen8 pipe IRQs", which could have fixed this bug. Also, which platforms exactly are affected by this? I see this bug report mentioning IVB, BDW and BSW. I can't reproduce the problem on BDW. Thanks, Paulo
(In reply to Paulo Zanoni from comment #10) > Hi > > Can you please retest this against drm-intel-nightly on BDW? We recently > merged "drm/i915: properly reenable gen8 pipe IRQs", which could have fixed > this bug. > > Also, which platforms exactly are affected by this? I see this bug report > mentioning IVB, BDW and BSW. I can't reproduce the problem on BDW. > > Thanks, > Paulo On latest -nightly(ead7d71357628dc1231535886ec09853e9164d6d), test passed on BDW, and skips on IVB and BSW. I am not sure if is it expected on IVB and BSW. root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ead7d7_20141013+ x86_64) Subtest setcrtc_vs_cs_flip: SUCCESS (4.839s) [root@x-ivb9 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-gca6b63f (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141012_debug+ x86_64) Test requirement not met in function drm_open_any_master, file drmtest.c:341: Test requirement: drmSetMaster(fd) == 0 Can't become DRM master, please check if no other DRM client is running. Last errno: 22, Invalid argument Subtest setcrtc_vs_cs_flip: SKIP [root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141012+ x86_64) Test requirement not met in function run_crtc_test_for_pipe, file kms_mmio_vs_cs_flip.c:533: Test requirement: valid_tests no valid crtc/connector combinations found Subtest setcrtc_vs_cs_flip: SKIP (11.013s)
(In reply to Guo Jinxian from comment #11) > (In reply to Paulo Zanoni from comment #10) > > Hi > > > > Can you please retest this against drm-intel-nightly on BDW? We recently > > merged "drm/i915: properly reenable gen8 pipe IRQs", which could have fixed > > this bug. > > > > Also, which platforms exactly are affected by this? I see this bug report > > mentioning IVB, BDW and BSW. I can't reproduce the problem on BDW. > > > > Thanks, > > Paulo > > On latest -nightly(ead7d71357628dc1231535886ec09853e9164d6d), test passed on > BDW, and skips on IVB and BSW. I am not sure if is it expected on IVB and > BSW. > > > root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# > ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip > IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: > 3.17.0_drm-intel-nightly_ead7d7_20141013+ x86_64) > Subtest setcrtc_vs_cs_flip: SUCCESS (4.839s) > > > [root@x-ivb9 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip > IGT-Version: 1.8-gca6b63f (x86_64) (Linux: > 3.17.0_drm-intel-nightly_ea4bec_20141012_debug+ x86_64) > Test requirement not met in function drm_open_any_master, file drmtest.c:341: > Test requirement: drmSetMaster(fd) == 0 > Can't become DRM master, please check if no other DRM client is running. > Last errno: 22, Invalid argument > Subtest setcrtc_vs_cs_flip: SKIP I recently sent an email to Gordon containing instructions of what QA should do once they find this error message. There's a BKM written just for that message. Please make sure you follow those steps. > > [root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip > IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: > 3.17.0_drm-intel-nightly_ea4bec_20141012+ x86_64) > Test requirement not met in function run_crtc_test_for_pipe, file > kms_mmio_vs_cs_flip.c:533: > Test requirement: valid_tests > no valid crtc/connector combinations found > Subtest setcrtc_vs_cs_flip: SKIP (11.013s) Do you have any outputs attached to the machine?
(In reply to Paulo Zanoni from comment #12) > (In reply to Guo Jinxian from comment #11) > > [root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip > > IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: > > 3.17.0_drm-intel-nightly_ea4bec_20141012+ x86_64) > > Test requirement not met in function run_crtc_test_for_pipe, file > > kms_mmio_vs_cs_flip.c:533: > > Test requirement: valid_tests > > no valid crtc/connector combinations found > > Subtest setcrtc_vs_cs_flip: SKIP (11.013s) > > Do you have any outputs attached to the machine? Test passed on IVB. [root@x-ivb9 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-gca6b63f (x86_64) (Linux: 3.17.0_drm-intel-nightly_2ea23c_20141014_debug+ x86_64) Subtest setcrtc_vs_cs_flip: SUCCESS (2.556s) On BSW, Red,blue and green screens display alternately while running the test. Test result still skips. [root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_2ea23c_20141014+ x86_64) Test requirement not met in function run_crtc_test_for_pipe, file kms_mmio_vs_cs_flip.c:533: Test requirement: valid_tests no valid crtc/connector combinations found Subtest setcrtc_vs_cs_flip: SKIP (11.121s)
The BDW regression, reported in the original bug report and bisected in comment #3 was fixed, so I'm closing the bug. If the problem still happens on BDW, please reopen. If you see similar problems on other platforms - or the same problem -, please open another bug report and to a new git bisect on that specific problem.
Verified on latest -nightly(6f628cbf2f18ac47e8afad50e3c328bbc33754d2) About BSW, the result is failed now. which tracked by bug 79291 [root@x-bsw01 tests]# ./kms_mmio_vs_cs_flip --run-subtest setcrtc_vs_cs_flip IGT-Version: 1.8-ge497600 (x86_64) (Linux: 3.18.0-rc1_drm-intel-nightly_6f628c_20141024+ x86_64) Test assertion failure function test_crtc, file kms_mmio_vs_cs_flip.c:500: Failed assertion: igt_crc_equal(&ref_crc, &crc) Subtest setcrtc_vs_cs_flip: FAIL (5.199s)
Closing verified+fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.