Bug 89528

Summary: [SNB]igt/kms_cursor_crc subcases fail and sometimes timeout.
Product: DRI Reporter: Ding Heng <hengx.ding>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Ding Heng 2015-03-11 08:48:58 UTC
Created attachment 114214 [details]
dmesg

==System Environment==
--------------------------
Regression: No, I can't find a good commit.

Non-working platforms: ILK

==kernel==
--------------------------
origin/drm-intel-nightly: c09a3b7f343bc87a132ef107cb263e57f8246b88(2015-03-10)

==Bug detailed description==
-----------------------------
IGT-Version: 1.9-g07be8fe (x86_64) (Linux: 4.0.0-rc3_drm-intel-nightly_8d96a0_20150311+ x86_64)
Beginning cursor-64x64-offscreen on pipe A, connector LVDS-1
.........................................................Test assertion failure function do_fail_test, file kms_cursor_crc.c:162:
Failed assertion: ret == expect
error: 0 != -34
Subtest cursor-64x64-offscreen failed.
**** DEBUG ****
    LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (2147483583, 2147483583)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(-2147483648,2147483583)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (-2147483648, 2147483583)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(-32768,-32768)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (-32768, -32768)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(32767,-32768)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (32767, -32768)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(32767,32767)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (32767, 32767)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(-32768,32767)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (-32768, 32767)
display: }
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display: }
display: commit {
display:     LVDS-1: Selecting pipe A
display: }
display: A.2: plane_set_fb(53)
display: A.2: plane_set_size(64,64)
display: A.2: plane_set_position(2147483584,2147483584)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, fb 1 64x64
display:     LVDS-1: MoveCursor pipe A, (2147483584, 2147483584)
display: }
display: A.2: plane_set_position(0,0)
display: A.2: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCursor pipe A, disabling
display:     LVDS-1: MoveCursor pipe A, (0, 0)
display: }
Test assertion failure function do_fail_test, file kms_cursor_crc.c:162:
Failed assertion: ret == expect
error: 0 != -34
****  END  ****
Subtest cursor-64x64-offscreen: FAIL (14.958s)

Affected cases:

igt/kms_cursor_crc/cursor-128x128-offscreen
igt/kms_cursor_crc/cursor-128x128-random
igt/kms_cursor_crc/cursor-128x128-sliding
igt/kms_cursor_crc/cursor-256x256-offscreen
igt/kms_cursor_crc/cursor-256x256-random
igt/kms_cursor_crc/cursor-256x256-sliding
igt/kms_cursor_crc/cursor-64x64-offscreen
igt/kms_cursor_crc/cursor-64x64-random
igt/kms_cursor_crc/cursor-64x64-sliding

Sometimes these cases will cost too much time to run till it time out.

==Reproduce steps==
----------------------------
1. ./kms_cursor_crc --run-subtest cursor-128x128-offscreen
Comment 1 Daniel Vetter 2015-04-02 08:31:36 UTC
Can you please attach the igt output for when the tests times out?
Comment 2 Jesse Barnes 2015-04-02 20:36:35 UTC
Looks like a dupe of the range handling issue:
error: 0 != -34

*** This bug has been marked as a duplicate of bug 84269 ***
Comment 3 Elizabeth 2017-10-06 14:31:10 UTC
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.