Bug 81322 - [HSW/BDW Regression]igt/kms_flip/vblank-vs-modeset-rpm fails
Summary: [HSW/BDW Regression]igt/kms_flip/vblank-vs-modeset-rpm fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-14 05:05 UTC by Guo Jinxian
Modified: 2017-02-10 08:53 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.25 KB, text/plain)
2014-07-14 05:05 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-07-14 05:05:30 UTC
Created attachment 102739 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes
It's a igt regression issue
Good commit on igt: 6b986a2044a2708f900454d7e23fcd0bbf68879d
Bad commit on igt: e74dd22ff89e007e637f16f661f06d4857a54224

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 271bff129a641b5b35d99c9eb0ceb866ca42f692(fails)
    drm-intel-nightly: 2014y-07m-12d-12h-07m-51s integration manifest
origin/drm-intel-next-queued: 491a3448622059b087d8c465b46b11f2953df7c1(fails)
    drm/i915: Enable PSR by default.
origin/drm-intel-fixes: ceb9f032dc858c349d7d213454c5ba2c6ef9c5e5(fails)
    Revert "drm/i915: Don't set the 8to6 dither flag when not scaling"

==Bug detailed description==
igt/kms_flip/vblank-vs-modeset-rpm fails

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-modeset-rpm
IGT-Version: 1.7-ge74dd22 (x86_64) (Linux: 3.16.0-rc4_drm-intel-next-queued_491a34_20140714+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-rpm on crtc 6, connector 17
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.Test assertion failure function run_test_step, file kms_flip.c:951:
Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
Subtest vblank-vs-modeset-rpm: FAIL
Test assertion failure function igt_install_exit_handler, file igt_core.c:1084:
Failed assertion: exit_handler_count < MAX_EXIT_HANDLERS
kms_flip: igt_core.c:655: igt_fail: Assertion `!test_with_subtests || in_fixture' failed.
Test assertion failure function kmstest_force_connector, file igt_kms.c:461:
Failed assertion: debugfs_fd != -1
Last errno: 2, No such file or directory
kms_flip: igt_core.c:655: igt_fail: Assertion `!test_with_subtests || in_fixture' failed.
Aborted
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# echo $?
134

==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest vblank-vs-modeset-rpm
Comment 1 Guo Jinxian 2014-08-21 02:58:22 UTC
This failure still able to reproduce on -nightly(49ceddc7b3b0e3f7eb21b9fb4c9b840cff630047) on HSW

[root@x-hsw24 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm-interruptible
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_49cedd_20140821+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-dpms-rpm-interruptible on crtc 7, connector 18
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
.Test assertion failure function run_test_step, file kms_flip.c:951:
Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
Last errno: 4, Interrupted system call
Subtest vblank-vs-dpms-rpm-interruptible: FAIL
Comment 2 Guo Jinxian 2014-09-02 07:04:04 UTC
I am not sure if it's igt regression issue now.

I reset kernel and igt to good commit, the failure still able to reproduce.

I am hard to bisect.
Comment 3 Paulo Zanoni 2014-10-27 16:06:27 UTC
We recently committed fixes to both the Kernel and IGT related to this. Please retest against the latest kernel/igt trees.
Comment 4 Guo Jinxian 2014-10-28 08:38:52 UTC
Test passes on latest -nightly(32cefad9992e67b4ee7487adf465bd7e189c9c1c)


root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-modeset-rpm
IGT-Version: 1.8-gcba3088 (x86_64) (Linux: 3.18.0-rc2_drm-intel-nightly_32cefa_20141028+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-rpm on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
...
vblank-vs-modeset-rpm on crtc 8, connector 19: PASSED

Beginning vblank-vs-modeset-rpm on crtc 12, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
vblank-vs-modeset-rpm on crtc 12, connector 19: PASSED

Beginning vblank-vs-modeset-rpm on crtc 16, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
vblank-vs-modeset-rpm on crtc 16, connector 19: PASSED

Subtest vblank-vs-modeset-rpm: SUCCESS (12.830s)
Comment 5 Jari Tahvanainen 2017-02-10 08:53:51 UTC
Closing (>2 years) old 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.