Bug 77792

Summary: [ILK Regression]igt/kms_flip/flip-vs-panning-interruptible fails
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: highest CC: intel-gfx-bugs, yi.sun
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Guo Jinxian 2014-04-23 06:39:06 UTC
Created attachment 97800 [details]
dmesg

System Environment:
--------------------------
Platform: ILK HSW
kernel:   (drm-intel-nightly)1e771b84e47085ef9b6efea1321e7cb5a8b2c065

Bug detailed description:
----------------------------
igt/kms_flip/flip-vs-panning-interruptible fails on ILK and HSW on -nightly and next-queued(c79057922ed6c2c6df1214e6ab4414fea1b23db2)

It's a regression bug:
good commit: 04feced98a434c7046108671dc5b6f50f3b63ed7
bad commit: c79057922ed6c2c6df1214e6ab4414fea1b23db2
We will bisect it later

output on -next-queued kernel:
./kms_flip --run-subtest flip-vs-panning-interruptible
IGT-Version: 1.6-g78e4c2b (x86_64) (Linux: 3.14.0_drm-intel-next-queued_c79057_20140423+ x86_64)
Using monotonic timestamps
Beginning flip-vs-panning-interruptible on crtc 5, connector 24
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Beginning flip-vs-panning-interruptible on crtc 8, connector 24
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Beginning flip-vs-panning-interruptible on crtc 11, connector 24
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
Test assertion failure function run_test_on_crtc_set, file kms_flip.c:1299:
Last errno: 13, Permission denied
Failed assertion: crtc_count > 1 || crtc_idxs[0] < 2
set_mode may only fail on the 3rd pipe or in multiple crtc tests
Subtest flip-vs-panning-interruptible: FAIL
Test assertion failure function set_connector_dpms, file kms_flip.c:326:
Last errno: 13, Permission denied
Failed assertion: drmModeConnectorSetProperty(drm_fd, connector->connector_id, dpms, mode) == 0

Reproduce steps:
---------------------------- 
1.  ./kms_flip --run-subtest flip-vs-panning-interruptible
Comment 1 Daniel Vetter 2014-05-19 14:13:46 UTC
Ping for bisect result.
Comment 2 Guo Jinxian 2014-05-21 02:54:41 UTC
(In reply to comment #1)
> Ping for bisect result.

(In reply to comment #1)
> Ping for bisect result.

This bug unable to reproduce on HSW now. The bad commit: c79057922ed6c2c6df1214e6ab4414fea1b23db2 is passed too.

On ILK, Here his another Bug 73027, which blocked the bisected
Comment 3 Daniel Vetter 2014-05-22 07:42:08 UTC
So hsw works? Please drop the HSW tag from the summary if that's the case.

And also please retest on ivb.
Comment 4 Guo Jinxian 2014-05-23 05:14:11 UTC
(In reply to comment #3)
> So hsw works? Please drop the HSW tag from the summary if that's the case.
> 
> And also please retest on ivb.

The result on -nightly(f5b0cca269ca3f7062f8d3441cebe6a16ce12be4) on ivb was pass.

./kms_flip --run-subtest flip-vs-panning-interruptible
IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-nightly_f5b0cc_20140522_debug+ x86_64)
Using monotonic timestamps
Beginning flip-vs-panning-interruptible on crtc 5, connector 13
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 5, connector 13: PASSED

Beginning flip-vs-panning-interruptible on crtc 8, connector 13
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 8, connector 13: PASSED

Beginning flip-vs-panning-interruptible on crtc 11, connector 13
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 11, connector 13: PASSED

Subtest flip-vs-panning-interruptible: SUCCESS
Comment 5 Jani Nikula 2014-09-05 13:09:03 UTC
The bug was originally reported against ILK and HSW. Then HSW started passing, but another re-test was done on IVB. We still need the confirmation on _ILK_. Please re-test, and bisect if the problem still persists.
Comment 6 Guo Jinxian 2014-09-10 03:43:05 UTC
(In reply to comment #5)
> The bug was originally reported against ILK and HSW. Then HSW started
> passing, but another re-test was done on IVB. We still need the confirmation
> on _ILK_. Please re-test, and bisect if the problem still persists.

Test passed on latest -nightly(99f444f7f8308ca93d56a3802a3e1a8abcad7f57) on ILK

[root@x-pk5 tests]# ./kms_flip --run-subtest flip-vs-panning-interruptible
IGT-Version: 1.8-gd9d3f4b (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_99f444_20140910+ x86_64)
Using monotonic timestamps
Beginning flip-vs-panning-interruptible on crtc 8, connector 14
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 8, connector 14: PASSED

Beginning flip-vs-panning-interruptible on crtc 12, connector 14
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 12, connector 14: PASSED

Beginning flip-vs-panning-interruptible on crtc 8, connector 30
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 8, connector 30: PASSED

Beginning flip-vs-panning-interruptible on crtc 12, connector 30
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-panning-interruptible on crtc 12, connector 30: PASSED

Subtest flip-vs-panning-interruptible: SUCCESS (32.876s)
[root@x-pk5 tests]# echo $?
0
Comment 7 Chris Wilson 2014-09-10 06:25:51 UTC
Presumably Ville fixed this.
Comment 8 Guo Jinxian 2014-09-30 06:11:40 UTC
Verified
Comment 9 Jari Tahvanainen 2017-02-10 08:13:11 UTC
Closing (>2 years) old 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.