Bug 90394 - [SNB Regression]igt/kms_plane/plane-position-hole-dpms-pipe-a-plane-1 fails
Summary: [SNB Regression]igt/kms_plane/plane-position-hole-dpms-pipe-a-plane-1 fails
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Rami
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 06:00 UTC by lu hua
Modified: 2015-11-14 11:07 UTC (History)
2 users (show)

See Also:
i915 platform: SNB
i915 features: display/Other


Attachments
dmesg (126.37 KB, text/plain)
2015-05-11 06:00 UTC, lu hua
no flags Details

Description lu hua 2015-05-11 06:00:43 UTC
Created attachment 115678 [details]
dmesg

==System Environment==
--------------------------
Regression: yes

good commit:75d04a3773ecee617847de963ae4195d6aa74c28
bad commit: c457879f0d8f664050e46092afde46fec58c9e67

Non-working platforms: SNB

==kernel==
--------------------------
drm-intel-nightly/a1e469d124cad96cd0d0e149c84f7ebd43ca1893
commit a1e469d124cad96cd0d0e149c84f7ebd43ca1893
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri May 8 17:48:23 2015 +0200

    drm-intel-nightly: 2015y-05m-08d-15h-47m-50s UTC integration manifest

==Bug detailed description==
-----------------------------
It fails on SNB with drm-intel-nightly and drm-intel-next-queued kernel.
kms_plane@plane-position-hole-dpms-pipe-b-plane-1 also fails.

output:
IGT-Version: 1.10-g9b0a32d (x86_64) (Linux: 4.1.0-rc2_drm-intel-nightly_a1e469_20150509+ x86_64)
Testing connector LVDS-1 using pipe A plane 1
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207:
Failed assertion: a->crc[i] == b->crc[i]
error: 0xc7ee5 != 0xfc2ff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [igt_assert_crc_equal+0x78]
  #2 [test_plane_position.constprop.9+0x2eb]
  #3 [run_tests_for_pipe_plane.constprop.6+0x279]
  #4 [__real_main407+0x5a]
  #5 [main+0x21]
  #6 [__libc_start_main+0xf5]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest plane-position-hole-dpms-pipe-A-plane-1 failed.
**** DEBUG ****
Test requirement passed: !(pipe >= data->display.n_pipes)
Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes)
Testing connector LVDS-1 using pipe A plane 1
display: LVDS-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=6400)
display: A.0: plane_set_fb(53)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCrtc pipe A, fb 53, panning (0, 0), mode 1600x900
display: }
display: A.0: plane_set_fb(0)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCrtc pipe A, disabling
display: }
CRC for a (0.00,1.00,0.00) fb: 00691509 00549e8a 00691509 001bb5a0 00691509
display: LVDS-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=6400)
display: A.0: plane_set_fb(53)
igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=256)
display: A.1: plane_set_fb(54)
display: A.1: plane_set_position(132,132)
display: commit {
display:     LVDS-1: Selecting pipe A
display:     LVDS-1: SetCrtc pipe A, fb 53, panning (0, 0), mode 1600x900
display:     LVDS-1: SetPlane A.1, fb 54, src = (0, 0) 64x64 dst = (132, 132) 64x64
display: }
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207:
Failed assertion: a->crc[i] == b->crc[i]
error: 0xc7ee5 != 0xfc2ff
****  END  ****
Subtest plane-position-hole-dpms-pipe-A-plane-1: FAIL (1.485s)

==Reproduce steps==
---------------------------- 
1. ./kms_plane --run-subtest plane-position-hole-dpms-pipe-A-plane-1
Comment 1 cprigent 2015-10-08 16:58:04 UTC
Bug scrub:
Rami could you try on BSW or SKL and give the result.
Thanks
Comment 2 Rami 2015-10-09 14:07:12 UTC
Reproduced on BSW.

Hardware:
=========
Platform: Braswell M 
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4)
SoC : BSW D0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37
Optional reworks : O-01a; O-02, O-03 

Software:
=========
Linux distribution: Ubuntu 14.04 LTS 64 bits 
BIOS : BRAS.X64.B084.R00.1508310642
TXE FW : 2.0.0.2073
Ksc : 1.08

kernel drm-intel-nightly 4.3.0-rc3 eb69e51
cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from
git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.64, tag: 2.4.64)
ab2fadabde3829b1ec56bd4756165dd9bd281488 from
git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, origin/master, origin/HEAD, master)
2a72f99d24714f2a58f400ef63b913d4cf9080b3 from
git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch)
613eb962b45fbbd1526d751e88e0d8897af6c0e0 from
git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-10.6.7) 32efdc87cbf89cfe08ad9571cd756e27c803caa8 from
git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, origin/master, origin/HEAD, master)
f0fd4d500de03c30c7ce19915f85acadd1ca4e5d from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
xserver: (HEAD, tag: xorg-server-1.17.2)
2123f7682d522619f101b05fb75efa75dabbe371 from
git://git.freedesktop.org/git/xorg/xserver
intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master)
1b492e311ce13fe4bc42f1edd5479441662d4855 from
git://git.freedesktop.org/git/xorg/app/intel-gpu-tools

Reproduce steps:
================
./kms_plane --run-subtest plane-position-hole-dpms-pipe-A-plane-1

Results:
========

 ./kms_plane --run-subtest plane-position-hole-dpms-pipe-A-plane-1
IGT-Version: 1.12-g1b492e3 (x86_64) (Linux: 4.3.0-rc3-drm-intel-nightly+ x86_64)
Testing connector eDP-1 using pipe A plane 1
Testing connector DP-1 using pipe A plane 1
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:266:
Failed assertion: a->crc[i] == b->crc[i]
error: 0x72b3a2 != 0x1de5b7
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [igt_assert_crc_equal+0x78]
  #2 [test_plane_position.constprop.7+0x2f3]
  #3 [run_tests_for_pipe_plane.constprop.4+0x2e9]
  #4 [__real_main402+0x5f]
  #5 [main+0x29]
  #6 [__libc_start_main+0xf5]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest plane-position-hole-dpms-pipe-A-plane-1 failed.
**** DEBUG ****
Test requirement passed: !(pipe >= data->display.n_pipes)
Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes)
Testing connector eDP-1 using pipe A plane 1
display: eDP-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
display: A.0: plane_set_fb(51)
display: commit {
display:     eDP-1: Selecting pipe A
display:     DP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe A, fb 51, panning (0, 0), mode 1920x1080
display: }
display: A.0: plane_set_fb(0)
display: commit {
display:     eDP-1: Selecting pipe A
display:     DP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe A, disabling
display: }
CRC for a (0.00,1.00,0.00) fb: 001d3c3a 00157132 00454281 00454281 00265405
display: eDP-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
display: A.0: plane_set_fb(51)
igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=256)
display: A.1: plane_set_fb(53)
display: A.1: plane_set_position(132,132)
display: commit {
display:     eDP-1: Selecting pipe A
display:     DP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe A, fb 51, panning (0, 0), mode 1920x1080
display:     eDP-1: SetPlane A.1, fb 53, src = (0, 0) 64x64 dst = (132, 132) 64x64
display: }
display: A.0: plane_set_fb(0)
display: A.1: plane_set_fb(0)
display: eDP-1: set_pipe(any)
Testing connector DP-1 using pipe A plane 1
display: DP-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=7680)
display: A.0: plane_set_fb(105)
display: commit {
display:     DP-1: Selecting pipe A
display:     eDP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     DP-1: SetCrtc pipe A, fb 105, panning (0, 0), mode 1920x1080
display:     DP-1: SetPlane pipe A, plane 1, disabling
display: }
display: A.0: plane_set_fb(0)
display: commit {
display:     DP-1: Selecting pipe A
display:     eDP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     DP-1: SetCrtc pipe A, disabling
display: }
CRC for a (0.00,1.00,0.00) fb: 003a3402 004908d5 00328fc3 001ae51f 00366b6e
display: DP-1: set_pipe(A)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=7680)
display: A.0: plane_set_fb(105)
igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=4, pitch=256)
display: A.1: plane_set_fb(106)
display: A.1: plane_set_position(132,132)
display: commit {
display:     DP-1: Selecting pipe A
display:     eDP-1: Selecting pipe B
display:     HDMI-A-2: Selecting pipe C
display:     DP-1: SetCrtc pipe A, fb 105, panning (0, 0), mode 1920x1080
display:     DP-1: SetPlane A.1, fb 106, src = (0, 0) 64x64 dst = (132, 132) 64x64
display: }
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:266:
Failed assertion: a->crc[i] == b->crc[i]
error: 0x72b3a2 != 0x1de5b7
****  END  ****
Subtest plane-position-hole-dpms-pipe-A-plane-1: FAIL (5.772s)
Comment 3 Humberto Israel Perez Rodriguez 2015-11-11 22:31:23 UTC
The following subtests passed in SNB with drm-intel-testing and nightly kernel, so i will proceed to close this bug, open it if is needed


test kms_plane 
subtest plane-position-hole-dpms-pipe-A-plane-1 
subtest plane-position-hole-dpms-pipe-B-plane-1

attemps (10/10)


Kernel : latest drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest
commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Nov 6 14:48:23 2015 +0200


Kernel : latest drm-intel-testing (4.3.0-rc6-testing)
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200




Software Configuration :
---------------------------------
Ubuntu 14.04.03 x86_64
Xserver : 1.17.4  (commit : 2c7fa2a)
libdrm : 2.4.65 (commit :c349616)
Xf86-video-intel : 2.99.917 (commit : baec802)
Mesa : 11.0.4 (commit : 31bf247)
Libva : 1.6.1 (commit : 613eb96)
Intel-driver : 1.6.1 (commit : 35858c6)
Cairo : 1.14.4 (commit : 0317ee7)
Intel-GPU-Tools : 1.12 (commit : 1f9e055)


 --- Hardware information ---
CPU information  : Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
GPU Card         : Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Memory ram       : 8 GB
Comment 4 cprigent 2015-11-14 11:07:32 UTC
So closed


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.