Bug 85312 - [all]igt/kms_flip/nonblocking-read unable exit
Summary: [all]igt/kms_flip/nonblocking-read unable exit
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
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: 2014-10-22 06:37 UTC by Guo Jinxian
Modified: 2017-10-06 14:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (91.09 KB, text/plain)
2014-10-22 06:37 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-10-22 06:37:47 UTC
Created attachment 108220 [details]
dmesg

==System Environment==
--------------------------
Regression: Not sure.
Unable to find good commit on both igt and kernel

Non-working platforms: SNB

==kernel==
--------------------------
origin/drm-intel-nightly: 1e61c930ec1745ec3cfc77be1cdd023c409de26d(fails)
    drm-intel-nightly: 2014y-10m-21d-17h-46m-36s UTC integration manifest
origin/drm-intel-next-queued: f3b190654cbceb0788bfc3b67e4f38ad870dfb84(fails)
    drm/i915: add runtime PM get/put call in i915_execlists
origin/drm-intel-fixes: f114040e3ea6e07372334ade75d1ee0775c355e1(fails)
    Linux 3.18-rc1

==Bug detailed description==
igt/kms_flip/nonblocking-read unable exit


Output:
"[root@x-sgb3 tests]# time ./kms_flip --run-subtest nonblocking-read
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.18.0-rc1_drm-intel-fixes_f11404_20141022+ x86_64)
Using monotonic timestamps

^C
real    18m22.330s
user    0m0.002s
sys     0m0.007s
"


==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest nonblocking-read
Comment 1 lu hua 2014-11-03 07:50:11 UTC
It happens on all platform with -queued and -fixes kernel. It works well on -nightly kernel.
Comment 2 Mika Kuoppala 2014-11-03 15:29:32 UTC
commit bd008e5b2953186fc0c6633a885ade95e7043800
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Oct 7 14:13:51 2014 +0100

    drm: Implement O_NONBLOCK support on /dev/dri/cardN

is not yet in dinq
Comment 3 Thomas Wood 2014-11-21 11:27:09 UTC
The test should be unblocked by commit f6aa80c (tests/kms_flip: add a timeout for the nonblocking-read test) in intel-gpu-tools. This causes the test to exit with timeout status for kernel builds without the commit mentioned in comment #2.
Comment 4 Guo Jinxian 2014-11-24 02:59:16 UTC
Verified on latest igt(d8078911f63494eba67f8f07ffb56c4bdeae7bc9).

./kms_flip --run-subtest nonblocking-read
IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc5_drm-intel-nightly_0f8cb1_20141123_debug+ x86_64)
Using monotonic timestamps
Subtest nonblocking-read: SUCCESS (0.000s)
Comment 5 Elizabeth 2017-10-06 14:34:31 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.