Created attachment 105786 [details] dmesg ==System Environment== -------------------------- Regression: No. This bug always exist Non-working platforms: BSW ==kernel== -------------------------- origin/drm-intel-nightly: 8741309e3741a64c1f83ac1f0b8144452bb83441(fails) drm-intel-nightly: 2014y-09m-04d-16h-00m-38s integration manifest origin/drm-intel-next-queued: 2789339044fb6dfbee0c8cd77e26438b80e333ee(fails) drm/i915: Rewrite ABS_DIFF() in a safer manner origin/drm-intel-fixes: 25fc92b99f65bec7d7c747c0305f048d7b19cc44(fails) drm/i915: Fix EIO/wedged handling in gem fault handler ==Bug detailed description== ----------------------------- igt/kms_plane some subcases timeout Case list: 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-bottom-right-pipe-C-plane-3 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-panning-top-left-pipe-C-plane-3 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-covered-pipe-C-plane-3 igt/kms_plane/plane-position-hole-pipe-C-plane-1 igt/kms_plane/plane-position-hole-pipe-C-plane-2 igt/kms_plane/plane-position-hole-pipe-C-plane-3 Output: [root@x-bsw01 tests]# ./kms_plane --run-subtest plane-panning-bottom-right-pipe-C-plane-1 IGT-Version: 1.7-g0818875 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_874130_20140905+ x86_64) Testing connector eDP-1 using pipe C plane 1 Subtest plane-panning-bottom-right-pipe-C-plane-1: TIMEOUT ==Reproduce steps== ---------------------------- 1. ./kms_plane --run-subtest plane-panning-bottom-right-pipe-C-plane-1
igt/kms_plane/plane-panning-bottom-right-suspend-pipe-B-plane-1 igt/kms_plane/plane-panning-bottom-right-suspend-pipe-B-plane-2 igt/kms_plane/plane-panning-bottom-right-suspend-pipe-C-plane-1 igt/kms_plane/plane-panning-bottom-right-suspend-pipe-C-plane-2 the cases above have the same issue.
QA blacklist 45 kms_plane cases because of this bug, any developer would help take a look at this bug?
Can you please retake the output of the testcase again? We've added a lot of useful logging to igt tests in the meantime.
(In reply to Daniel Vetter from comment #3) > Can you please retake the output of the testcase again? We've added a lot of > useful logging to igt tests in the meantime. root@x-bsw09:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --debug --run-subtest plane-panning-bottom-right-pipe-C-plane-1 IGT-Version: 1.10-g992f9f6 (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_a8ae89_20150402+ x86_64) (kms_plane:4716) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() Test requirement passed: fd >= 0 Test requirement passed: fd >= 0 Test requirement passed: drmSetMaster(fd) == 0 VT: graphics mode set (mode was 0x0) Test requirement passed: ctl Test requirement passed: (written == strlen(cmd) && ret == 0) || errno != ENODEV display: init { display: eDP-1: Selecting pipe A display: } Starting subtest: plane-panning-bottom-right-pipe-C-plane-1 Test requirement passed: !(pipe >= data->display.n_pipes) Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes) Testing connector eDP-1 using pipe C plane 1 display: eDP-1: set_pipe(C) igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=7680) display: C.0: plane_set_fb(51) display: commit { display: } Subtest plane-panning-bottom-right-pipe-C-plane-1 failed. **** DEBUG **** Test requirement passed: !(pipe >= data->display.n_pipes) Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes) Testing connector eDP-1 using pipe C plane 1 display: eDP-1: set_pipe(C) igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=7680) display: C.0: plane_set_fb(51) display: commit { display: } **** END **** Subtest plane-panning-bottom-right-pipe-C-plane-1: TIMEOUT (5.016s) Exiting with status code 78 VT: original mode 0x0 restored
It also exists on HSW. case list: ------------------ igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-plane-1 igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-plane-2 igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-plane-1 igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-plane-2 output: --------------- root@x-hsw24:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-panning-bottom-right-suspend-pipe-B-plane-1 IGT-Version: 1.10-gd9a25af (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) Testing connector VGA-1 using pipe B plane 1 rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Apr 8 08:37:11 2015 Subtest plane-panning-bottom-right-suspend-pipe-B-plane-1 failed. **** DEBUG **** Test requirement passed: !(pipe >= data->display.n_pipes) Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes) Testing connector VGA-1 using pipe B plane 1 display: VGA-1: set_pipe(B) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=4096) display: B.0: plane_set_fb(57) display: commit { display: VGA-1: Selecting pipe B display: VGA-1: SetCrtc pipe B, fb 57, panning (0, 0), mode 1024x768 display: } display: B.0: plane_set_fb(0) display: commit { display: VGA-1: Selecting pipe B display: VGA-1: SetCrtc pipe B, disabling display: } CRC for a (1.00,0.00,0.00) fb: 172041df 00000000 00000000 00000000 00000000 display: VGA-1: set_pipe(B) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=4096) display: B.0: plane_set_fb(57) display: commit { display: VGA-1: Selecting pipe B display: VGA-1: SetCrtc pipe B, fb 57, panning (0, 0), mode 1024x768 display: } display: B.0: plane_set_fb(0) display: commit { display: VGA-1: Selecting pipe B display: VGA-1: SetCrtc pipe B, disabling display: } CRC for a (0.00,0.00,1.00) fb: f571dfae 00000000 00000000 00000000 00000000 display: VGA-1: set_pipe(B) igt_create_fb_with_bo_size(width=2048, height=1536, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=8192) display: B.0: plane_set_fb(57) display: B.0: plane_set_panning(1024,768) display: B.0: plane_set_position(0,0) display: commit { display: VGA-1: Selecting pipe B display: VGA-1: SetCrtc pipe B, fb 57, panning (1024, 768), mode 1024x768 display: } Test requirement passed: !igt_run_in_simulation() **** END **** Subtest plane-panning-bottom-right-suspend-pipe-B-plane-1: TIMEOUT (9.769s)
Yeah we need to change this from timeout to fail to avoid getting blacklisted here ...
(In reply to Daniel Vetter from comment #6) > Yeah we need to change this from timeout to fail to avoid getting > blacklisted here ... This has been changed in commit cff102e (lib: use test failure status for igt_set_timeout). Please re-test with this commit.
(In reply to Thomas Wood from comment #7) > (In reply to Daniel Vetter from comment #6) > > Yeah we need to change this from timeout to fail to avoid getting > > blacklisted here ... > > This has been changed in commit cff102e (lib: use test failure status for > igt_set_timeout). Please re-test with this commit. Test on the latest igt, the "timeout" goes away, it fails. output: IGT-Version: 1.10-gbeddb3b (x86_64) (Linux: 4.0.0_drm-intel-nightly_b9fe35_20150421+ x86_64) Testing connector eDP-1 using pipe C plane 1 Timed out Subtest plane-panning-bottom-right-pipe-C-plane-1 failed. **** DEBUG **** Test requirement passed: !(pipe >= data->display.n_pipes) Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes) Testing connector eDP-1 using pipe C plane 1 display: eDP-1: set_pipe(C) igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=7680) display: C.0: plane_set_fb(51) display: commit { display: } Timed out **** END **** Subtest plane-panning-bottom-right-pipe-C-plane-1: FAIL (5.015s) real 0m5.058s user 0m0.012s sys 0m0.040s
*** Bug 88982 has been marked as a duplicate of this bug. ***
The time out goes away, some sub cases fail, track bug 86763. Close this bug.
Verified.Fixed.
Closing old verified.
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.