Bug 100184 - [BAT] [SKL] kms_cursor_legacy/2x*vs-flip-legacy failures
Summary: [BAT] [SKL] kms_cursor_legacy/2x*vs-flip-legacy failures
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: krisman
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 18:47 UTC by Dorota Czaplejewicz
Modified: 2018-02-13 16:31 UTC (History)
2 users (show)

See Also:
i915 platform: SKL
i915 features:


Attachments
2x-cursor-vs-flip-legacy log (5.83 KB, text/plain)
2017-03-13 18:47 UTC, Dorota Czaplejewicz
no flags Details

Description Dorota Czaplejewicz 2017-03-13 18:47:36 UTC
Created attachment 130199 [details]
2x-cursor-vs-flip-legacy log

Kernel drm-tip: 2017y-03m-13d-16h-06m-45s, config 2327.
CPU: Celeron(R) CPU G3900
GPU: 00:02.0 0300: 8086:1902 (rev 06) (prog-if 00 [VGA controller])

Tests fail about 10% of the time:

(kms_cursor_legacy:2860) CRITICAL: Test assertion failure function two_screens_cursor_vs_flip, file kms_cursor_legacy.c:1237:
(kms_cursor_legacy:2860) CRITICAL: Failed assertion: shared[child] > vrefresh[child]*target[child] / 2
(kms_cursor_legacy:2860) CRITICAL: completed 1843 cursor updated in a period of 30 flips, we expect to complete approximately 3840 updates, with the threshold set at 1920

Affected:
2x-cursor-vs-flip-legacy
2x-long-cursor-vs-flip-legacy
Comment 1 Dorota Czaplejewicz 2017-03-18 16:36:10 UTC
Something changed between drm-tip: 2017y-03m-13d and 2017y-03m-16d and 2x tests are SKIP now.

The system has only 1 VGA screen connected.
Comment 2 Dorota Czaplejewicz 2017-03-18 20:47:35 UTC
The tests are passing with config 2362 (32 runs).
Comment 3 Dorota Czaplejewicz 2017-03-20 16:57:33 UTC
These tests depend on CONFIG_DETECT_HUNG_TASK configuration. With set to y, I have only seen 1 failure over some 100 runs.
Comment 4 Dorota Czaplejewicz 2017-03-22 11:10:18 UTC
I have tested the commits as far back as 4.8.0-rc3, and it doesn't seem to be a regression.
Comment 5 krisman 2017-04-24 02:33:08 UTC
Taking over to work on verification and close if possible.
Comment 6 krisman 2017-06-26 18:32:58 UTC
(In reply to krisman from comment #5)
> Taking over to work on verification and close if possible.

Verified on SKL with 2 screens.  Issue is easily reproducible with older kernel but didn't trigger in over 100 attempts with more recent kernel.  Marking an resolved.
Comment 7 Elizabeth 2018-02-13 16:31:21 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.