Bug 59343 - [G45] I-G-T/kms_flip subtest: 'wf_vblank-ts-check' fail
Summary: [G45] I-G-T/kms_flip subtest: 'wf_vblank-ts-check' fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 07:30 UTC by yanbing
Modified: 2017-01-12 07:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
kms_flip-subtest_wf_vblank-ts-check.dmesg (98.12 KB, text/plain)
2013-01-14 07:30 UTC, yanbing
no flags Details
lspci.log (2.41 KB, text/plain)
2013-01-14 07:40 UTC, yanbing
no flags Details

Description yanbing 2013-01-14 07:30:06 UTC
Environment:
--------------------------
Kernel: (drm-intel-next-queued)5b687ca1691aa6da6e16875d2ffc52a0898bd4ac
Some additional commit info:
Author: Egbert Eich <eich@suse.de>
Date:   Thu Jan 10 10:02:39 2013 -0500

    drm/i915: Remove pch_rq_mask from struct drm_i915_private.



Steps:
---------------------------

./kms_flip --run-subtest wf_vblank-ts-check


Result:
--------------------------
1.return value = 9
2.stdout:
running testcase: wf_vblank-ts-check
could not find requested crtc 3
Beginning wf_vblank-ts-check on crtc 4, connector 5
1024x600 60 1024 1048 1184 1438 600 603 604 628 0xa 0x48 54200
failed to page flip: Invalid argument

3.Running wf_vblank-ts-check on IVB,HSW,SNB were pass.

4.No matter enabled or disabled kernel hacking in config,this bug exist.

5.The dmesg was on the attahment.
Comment 1 yanbing 2013-01-14 07:30:41 UTC
Created attachment 72991 [details]
kms_flip-subtest_wf_vblank-ts-check.dmesg
Comment 2 yanbing 2013-01-14 07:40:43 UTC
Created attachment 72992 [details]
lspci.log
Comment 3 Daniel Vetter 2013-01-21 08:53:45 UTC
Please retest all kms_flip failures with latest -nightly, specifically:

commit 735dc0d1e29329ff34ec97f66e130cce481c9607
Merge: bac4b7c 20c60c3
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Jan 21 07:44:58 2013 +1000

    Merge branch 'drm-kms-locking' of git://people.freedesktop.org/~danvet/drm-intel into drm-next

Note that this commit is in the drm-next branch and so _not_ included in either drm-intel-fixes or drm-intel-next-queued. Hence please update the bug status with the result from -nightly only.
Comment 4 yanbing 2013-01-22 03:38:39 UTC
(In reply to comment #3)
> Please retest all kms_flip failures with latest -nightly, specifically:
> 
> commit 735dc0d1e29329ff34ec97f66e130cce481c9607
> Merge: bac4b7c 20c60c3
> Author: Dave Airlie <airlied@redhat.com>
> Date:   Mon Jan 21 07:44:58 2013 +1000
> 
>     Merge branch 'drm-kms-locking' of
> git://people.freedesktop.org/~danvet/drm-intel into drm-next
> 
> Note that this commit is in the drm-next branch and so _not_ included in
> either drm-intel-fixes or drm-intel-next-queued. Hence please update the bug
> status with the result from -nightly only.

1.On the platform G45,I retest all kms_flip with latest -nightly,the result is pass.

2.But I found a new prblem.While using below commit kernel booting gm45 was fail.Black screen and hang,I'm sorry I can't grab the dmesg.Can you tell me the way to grab the dmesg of a hang system?

Kernel: (drm-intel-nightly)735dc0d1e29329ff34ec97f66e130cce481c9607
Some additional commit info:
Merge: bac4b7c 20c60c3
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Jan 21 07:44:58 2013 +1000


3.I also try using its parent commit and gm45 can boot normally.The parent info is below:

Kernel: (drm-intel-nightly)bac4b7c3b5c0660c08dc4949fe40e08e20364ee3
Some additional commit info:
Author: Carsten Emde <C.Emde@osadl.org>
Date:   Thu Jul 19 15:54:25 2012 +0000

    drm: Load EDID: Explain better how to write your own EDID firmware


4.So it may be the mergeing error.
Comment 5 Daniel Vetter 2013-01-22 08:48:07 UTC
So to summarize: kms_flip works now on g45, but there's a new issue (which seems unrelated) on gm45?

Can you please file a new bug for the gm45 boot issue with the bisect result? Since the bad commit seems to be a merge commit, you need to test both parents, which git bisect will automatically take care of.
Comment 6 yanbing 2013-01-23 04:28:49 UTC
(In reply to comment #5)
> So to summarize: kms_flip works now on g45, but there's a new issue (which
> seems unrelated) on gm45?
> 
> Can you please file a new bug for the gm45 boot issue with the bisect
> result? Since the bad commit seems to be a merge commit, you need to test
> both parents, which git bisect will automatically take care of.

1.kms_flip works now on g45 with latset nightly

2.The new bug about gm45a can not boot will be reported later.
Comment 7 Daniel Vetter 2013-01-23 09:35:31 UTC
Ok, since this report here is for G45 I think we can close it.
Comment 8 Yi Sun 2013-01-23 12:30:37 UTC
Verified. The GM45 hang issue direct to #59750
Comment 9 yanbing 2013-01-24 01:12:03 UTC
The new bug is about gm45a is  Bug 59750.
Comment 10 Jari Tahvanainen 2017-01-12 07:02:01 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.