Bug 82314

Summary: [IVB Regression]igt/kms_pipe_crc_basic some subcases fails
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Chris Wilson <chris>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: highest CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Guo Jinxian 2014-08-08 03:06:25 UTC
Created attachment 104252 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes.
Good commit on drm-next: 60f2b4af1258c05e6b037af866be81abc24438f7
This bug was tracked by bug 79713 before.
 

Non-working platforms: IVB

==kernel==
--------------------------
origin/drm-intel-nightly: c3b4c0436dffd0a2d25d9583bd6c3e64f5090603(fails)
    drm-intel-nightly: 2014y-08m-07d-16h-50m-27s integration manifest
origin/drm-intel-next-queued: 9de1683a0fa8ce9dc569bafd04f7487c8b9080ac(works)
    drm/i915: Add sprite watermark programming for VLV and CHV
origin/drm-intel-fixes: 7badbebb052ab30806289a4d4d35f35a7c4240d1(works)
    drm/i915: read HEAD register back in init_ring_common() to enforce ordering
origin/drm-fixes: 1b2c4869d8247f9e202fa8a73777c34adc62d409(works)
    drm/radeon: fix cut and paste issue for hawaii.
origin/drm-next: 21d70354bba9965a098382fc4d7fb17e138111f3(fails)
    drm: move drm_stub.c to drm_drv.c

==Bug detailed description==
igt/kms_pipe_crc_basic some subcases fails

Output:
[root@x-ivb9 tests]# ./kms_pipe_crc_basic
IGT-Version: 1.7-g17d63e4 (x86_64) (Linux: 3.16.0_drm-intel-nightly_c3b4c0_20140808+ x86_64)
Subtest bad-pipe: SUCCESS
Subtest bad-source: SUCCESS
Subtest bad-nb-words-1: SUCCESS
Subtest bad-nb-words-3: SUCCESS
read-crc-pipe-A: Testing connector VGA-1 using pipe A
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-A: FAIL
read-crc-pipe-A-frame-sequence: Testing connector VGA-1 using pipe A
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-A-frame-sequence: FAIL
rtcwake: wakeup from ""mem"" using /dev/rtc0 at Fri Aug  8 15:37:29 2014
suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest suspend-read-crc-pipe-A: FAIL
hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest hang-read-crc-pipe-A: FAIL
read-crc-pipe-B: Testing connector VGA-1 using pipe B
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-B: FAIL
read-crc-pipe-B-frame-sequence: Testing connector VGA-1 using pipe B
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-B-frame-sequence: FAIL
rtcwake: wakeup from ""mem"" using /dev/rtc0 at Fri Aug  8 15:38:08 2014
suspend-read-crc-pipe-B: Testing connector VGA-1 using pipe B
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest suspend-read-crc-pipe-B: FAIL
hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest hang-read-crc-pipe-B: FAIL
read-crc-pipe-C: Testing connector VGA-1 using pipe C
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-C: FAIL
read-crc-pipe-C-frame-sequence: Testing connector VGA-1 using pipe C
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest read-crc-pipe-C-frame-sequence: FAIL
rtcwake: wakeup from ""mem"" using /dev/rtc0 at Fri Aug  8 15:38:47 2014
suspend-read-crc-pipe-C: Testing connector VGA-1 using pipe C
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest suspend-read-crc-pipe-C: FAIL
hang-read-crc-pipe-C: Testing connector VGA-1 using pipe C
Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193:
Failed assertion: ret == 0
Last errno: 13, Permission denied
Subtest hang-read-crc-pipe-C: FAIL


Output on good commit on drm-next:
[root@x-ivb9 ~]# cat /proc/cmdline
BOOT_IMAGE=kernels//nightly_parents/2014_03_30/drm-next/60f2b4af1258c05e6b037af866be81abc24438f7/bzImage_x86_64 root=/dev/sda2 drm.debug=0xe modules_path=kernels//nightly_parents/2014_03_30/drm-next/60f2b4af1258c05e6b037af866be81abc24438f7/modules_x86_64/lib/modules/3.14.0-rc7_drm-next_60f2b4_20140330+ kexec_jump_back_entry=0xa7600309
[root@x-ivb9 ~]# cd /GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests/
[root@x-ivb9 tests]# ./kms_pipe_crc_basic
IGT-Version: 1.7-g17d63e4 (x86_64) (Linux: 3.14.0-rc7_drm-next_60f2b4_20140330+ x86_64)
Subtest bad-pipe: SUCCESS
Subtest bad-source: SUCCESS
Subtest bad-nb-words-1: SUCCESS
Subtest bad-nb-words-3: SUCCESS
read-crc-pipe-A: Testing connector VGA-1 using pipe A
Subtest read-crc-pipe-A: SUCCESS
read-crc-pipe-A-frame-sequence: Testing connector VGA-1 using pipe A
Subtest read-crc-pipe-A-frame-sequence: SUCCESS
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug  8 15:52:16 2014
suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A
Subtest suspend-read-crc-pipe-A: SUCCESS
hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A
Subtest hang-read-crc-pipe-A: SUCCESS
read-crc-pipe-B: Testing connector VGA-1 using pipe B
Subtest read-crc-pipe-B: SUCCESS
read-crc-pipe-B-frame-sequence: Testing connector VGA-1 using pipe B
Subtest read-crc-pipe-B-frame-sequence: SUCCESS
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug  8 15:52:58 2014
suspend-read-crc-pipe-B: Testing connector VGA-1 using pipe B
Subtest suspend-read-crc-pipe-B: SUCCESS
hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B
Subtest hang-read-crc-pipe-B: SUCCESS
read-crc-pipe-C: Testing connector VGA-1 using pipe C
Subtest read-crc-pipe-C: SUCCESS
read-crc-pipe-C-frame-sequence: Testing connector VGA-1 using pipe C
Subtest read-crc-pipe-C-frame-sequence: SUCCESS
rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug  8 15:53:40 2014
suspend-read-crc-pipe-C: Testing connector VGA-1 using pipe C
Subtest suspend-read-crc-pipe-C: SUCCESS
hang-read-crc-pipe-C: Testing connector VGA-1 using pipe C
Subtest hang-read-crc-pipe-C: SUCCESS


==Reproduce steps==
---------------------------- 
1. ./kms_pipe_crc_basic
Comment 1 yaoming 2014-09-03 03:29:09 UTC
Passed on latest drm-intel-nightly branch(45cb75), all subcases succeed.
Comment 2 Guo Jinxian 2014-09-30 06:14:16 UTC
(In reply to comment #1)
> Passed on latest drm-intel-nightly branch(45cb75), all subcases succeed.

Verified.
Comment 3 Jari Tahvanainen 2016-10-07 08:46:23 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.