Bug 66482 - igt/kms_flip/absolute-wf_vblank randomly causes <3>[ 1.211971] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 0, found 1)
Summary: igt/kms_flip/absolute-wf_vblank randomly causes <3>[ 1.211971] [drm:intel_...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 06:11 UTC by lu hua
Modified: 2016-11-22 08:43 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.68 KB, text/plain)
2013-07-02 06:11 UTC, lu hua
no flags Details

Description lu hua 2013-07-02 06:11:49 UTC
Created attachment 81843 [details]
dmesg

System Environment:
--------------------------
Arch:           x86_64
Platform:       GM45/ILK/SNB/IVB/HSW
Kernel: (drm-intel-next-queued)e84d8bb431a656c0c94ecfe67a3c64f4f27e48b7

Bug detailed description:
-----------------------------
It randomly happens on GM45 ironlake sandybridge ivybridge and haswell with drm-intel-next-queued and drm-intel-fixes kernel.
It happens 1 in 10 runs.
Following cases also randomly causes <3>[    1.211971] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 0, found 1):

igt/gem_flink/bad-flink
igt/kms_flip/blocking-absolute-wf_vblank
igt/kms_flip/blocking-wf_vblank
igt/kms_flip/delayed-flip-vs-dpms
igt/kms_flip/delayed-flip-vs-modeset
igt/kms_flip/delayed-flip-vs-panning
igt/kms_flip/delayed-wf_vblank-vs-dpms
igt/kms_flip/delayed-wf_vblank-vs-modeset
igt/kms_flip/flip-vs-absolute-wf_vblank
igt/kms_flip/flip-vs-bad-tiling
igt/kms_flip/flip-vs-blocking-wf-vblank
igt/kms_flip/flip-vs-dpms
igt/kms_flip/flip-vs-dpms-off-vs-modeset
igt/kms_flip/flip-vs-expired-vblank
igt/kms_flip/flip-vs-modeset
igt/kms_flip/flip-vs-panning
igt/kms_flip/flip-vs-rmfb
igt/kms_flip/flip-vs-wf_vblank
igt/kms_flip/plain-flip
igt/kms_flip/plain-flip-fb-recreate
igt/kms_flip/plain-flip-ts-check
igt/kms_flip/single-buffer-flip-vs-dpms-off-vs-modeset
igt/kms_flip/wf_vblank
igt/kms_flip/wf_vblank-ts-check
igt/kms_flip/wf_vblank-vs-dpms
igt/kms_flip/wf_vblank-vs-modeset
igt/kms_render/direct-render
igt/kms_render/gpu-blit
igt/testdisplay

output:
Using monotonic timestamps
running testcase: flip-vs-absolute-wf_vblank
Beginning flip-vs-absolute-wf_vblank on crtc 3, connector 18
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-absolute-wf_vblank on crtc 3, connector 18: PASSED

Beginning flip-vs-absolute-wf_vblank on crtc 5, connector 18
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-absolute-wf_vblank on crtc 5, connector 18: PASSED

Beginning flip-vs-absolute-wf_vblank on crtc 7, connector 18
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
flip-vs-absolute-wf_vblank on crtc 7, connector 18: PASSED

dmesg -r | egrep "<[1-3]>" |grep drm
<3>[    1.211971] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 0, found 1)

Reproduce steps:
----------------------------
1. ./kms_flip --run-subtest flip-vs-absolute-wf_vblank
Comment 1 Daniel Vetter 2013-08-08 07:12:49 UTC
Hm, Imre's fix to sanitize the adjusted mode might help here, can you please retest on latest -nightly?
Comment 2 lu hua 2013-08-09 08:02:51 UTC
Test on latest -nightly kernel. This issue goes away. Close it.
Comment 3 lu hua 2013-08-09 08:03:07 UTC
Verified.Fixed.
Comment 4 lu hua 2013-09-25 06:24:42 UTC
Sorry. It doesn't fix on GM45, Report Bug 69791.
Comment 5 Daniel Vetter 2013-09-25 10:28:08 UTC
(In reply to comment #4)
> Sorry. It doesn't fix on GM45, Report Bug 69791.

Actually filing a new bug report was the right thing to do. This bug here is different from bug 69791, and this bug here is indeed fixed whereas the new one is a different issue (although very similar backtrace).
Comment 6 Jari Tahvanainen 2016-11-22 08:43:29 UTC
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.