Bug 75239 - [BYT]igt/kms_plane/plane-position-covered-pipe-B-plane-1 fails
Summary: [BYT]igt/kms_plane/plane-position-covered-pipe-B-plane-1 fails
Status: CLOSED DUPLICATE of bug 84361
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 03:22 UTC by lu hua
Modified: 2017-07-24 22:55 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (121.59 KB, text/plain)
2014-02-20 03:22 UTC, lu hua
no flags Details
dmesg(BYT) (117.55 KB, text/plain)
2014-06-05 06:08 UTC, lu hua
no flags Details

Description lu hua 2014-02-20 03:22:49 UTC
Created attachment 94401 [details]
dmesg

System Environment:
--------------------------
Platform: Baytrail/Broadwell
Kernel(drm-intel-nightly)1be8f2b4dd6d3db00af24d4891c82d2650bd282d

Bug detailed description:
------------------------- 
New case kms_plane/plane-position-covered-pipe-A-plane-1  fails on Baytrail and Broadwell with -nightly and -queued kernel.
Subcase plane-position-covered-pipe-A-plane-1 and plane-position-covered-pipe-C-plane-1 also fail.

output:
IGT-Version: 1.5-g9597836 (x86_64) (Linux: 3.13.0_drm-intel-next-queued_4c0e55_20140220+ x86_64)
Testing connector eDP-1 using pipe B plane 1
Test assertion failure function test_plane_position_with_output, file kms_plane.c:178:
Last errno: 0, Success
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-B-plane-1: FAIL


Reproduce steps:
-------------------------
1. ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-1
Comment 1 Damien Lespiau 2014-02-20 09:22:51 UTC
Do you see anything on the the eDP panel at all?
Comment 2 lu hua 2014-02-21 08:27:43 UTC
(In reply to comment #1)
> Do you see anything on the the eDP panel at all?

Green screen flash by.
Comment 3 Ben Widawsky 2014-06-03 23:13:09 UTC
This is working for me on a recent nightly. Can you please retest?

bwidawsk@momoa ~/intel-gfx/intel-gpu-tools (master)$ sudo ./tests/kms_plane --run-subtest plane-position-covered-pipe-B-plane-1
IGT-Version: 1.6-g9019fed (x86_64) (Linux: 3.15.0-rc7-BEN+ x86_64)
Testing connector eDP-1 using pipe B plane 1
Testing connector DP-1 using pipe B plane 1
Subtest plane-position-covered-pipe-B-plane-1: SUCCESS
Comment 4 Ben Widawsky 2014-06-04 01:01:32 UTC
This was run on BDW btw. Please confirm if it's still an issue for both BYT and BDW. Thanks.
Comment 5 lu hua 2014-06-05 06:07:35 UTC
Test on latest -nightly kernel. It works well on BDW.
subcase plane-position-covered-pipe-A-plane-1 still fails on BYT.
# ./kms_plane --run-subtest plane-position-covered-pipe-A-plane-1
IGT-Version: 1.6-g1451df1 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_0a37b5_20140604+ x86_64)
Testing connector eDP-1 using pipe A plane 1
Test assertion failure function test_plane_position_with_output, file kms_plane.c:174:
Last errno: 0, Success
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-A-plane-1: FAIL
Comment 6 lu hua 2014-06-05 06:08:39 UTC
Created attachment 100436 [details]
dmesg(BYT)
Comment 7 Guo Jinxian 2014-06-10 05:49:27 UTC
This bug is able to reproduce on HSW too.
Kernel:
drm-intel-nightly(969b3c5a312e849fa7a3dc0937a6acf34cdd7e25)
Output:
./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1
IGT-Version: 1.6-g18d2130 (x86_64) (Linux: 3.15.0-rc8_drm-intel-nightly_969b3c_20140609+ x86_64)
Testing connector VGA-1 using pipe C plane 1
Test assertion failure function test_plane_position_with_output, file kms_plane.c:174:
Last errno: 0, Success
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-C-plane-1: FAIL
Comment 8 Guo Jinxian 2014-09-05 07:17:06 UTC
Test failed on latest -next-queued(2789339044fb6dfbee0c8cd77e26438b80e333ee) on BSW

[root@x-bsw01 tests]# ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-3
IGT-Version: 1.7-g0818875 (x86_64) (Linux: 3.17.0-rc2_drm-intel-next-queued_278933_20140905+ x86_64)
Testing connector eDP-1 using pipe B plane 3
Test assertion failure function test_plane_position_with_output, file kms_plane.c:197:
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-B-plane-3: FAIL
Comment 9 lu hua 2014-10-11 02:16:34 UTC
Test on latest -nightly kernel, It's sporadical fail. Fail rate:2/3.
output:
IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141010+ x86_64)
Testing connector eDP-1 using pipe A plane 1
Test assertion failure function test_plane_position_with_output, file kms_plane.c:197:
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-A-plane-1: FAIL (5.024s)
root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-A-plane-1
IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141010+ x86_64)
Testing connector eDP-1 using pipe A plane 1
Test assertion failure function test_plane_position_with_output, file kms_plane.c:197:
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-A-plane-1: FAIL (4.180s)
root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-A-plane-1
IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141010+ x86_64)
Testing connector eDP-1 using pipe A plane 1
Subtest plane-position-covered-pipe-A-plane-1: SUCCESS (4.179s)
Comment 10 Rodrigo Vivi 2015-01-13 23:58:30 UTC
I'm running it reliably here on both BSW and BDW with latest nightly.
Could you please retest?
Comment 11 lu hua 2015-01-14 07:48:37 UTC
Test on BYT and the latest -nightly kernel. I don't see the unstable fail.
run ./kms_plane, Following subcases fail(Bug 86763)
Test assertion failure function test_plane_position_with_output, file kms_plane.c:197:
Failed assertion: igt_crc_equal(&test.reference_crc, &crc)
Subtest plane-position-covered-pipe-B-plane-2: FAIL (1.009s)
Testing connector DP-1 using pipe B plane 2
Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387:
Failed assertion: pipe_crc->crc_fd != -1
Last errno: 16, Device or resource busy
Subtest plane-position-hole-pipe-B-plane-2: FAIL (0.000s)
Testing connector DP-1 using pipe B plane 2
Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387:
Failed assertion: pipe_crc->crc_fd != -1
Last errno: 16, Device or resource busy
Subtest plane-panning-top-left-pipe-B-plane-2: FAIL (0.000s)
Testing connector DP-1 using pipe B plane 2
Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387:
Failed assertion: pipe_crc->crc_fd != -1
Last errno: 16, Device or resource busy
Subtest plane-panning-bottom-right-pipe-B-plane-2: FAIL (0.000s)
Comment 12 Jesse Barnes 2015-04-02 16:31:50 UTC
These seem to pass now on BYT.
Comment 13 ye.tian 2015-04-03 08:46:29 UTC
Tested it on the latest nightly kernel and igt.
This issue does not exists on BSW, but it still exists on BYT.

output:
-------------------
root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i in `seq 1 10`; do ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-1 ; done
IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64)
Testing connector eDP-1 using pipe B plane 1
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207:
Failed assertion: a->crc[i] == b->crc[i]
error: 0x1b6b6a != 0x289cb3
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [igt_assert_crc_equal+0x82]
  #2 [test_plane_position.constprop.9+0x2dc]
  #3 [run_tests_for_pipe_plane.constprop.6+0x20c]
  #4 [__real_main407+0x55]
  #5 [main+0x21]
  #6 [__libc_start_main+0xf5]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest plane-position-covered-pipe-B-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 B plane 1
display: eDP-1: set_pipe(B)
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: B.0: plane_set_fb(44)
display: commit {
display:     eDP-1: Selecting pipe B
display:     eDP-1: SetCrtc pipe B, fb 44, panning (0, 0), mode 1920x1080
display: }
display: B.0: plane_set_fb(0)
display: commit {
display:     eDP-1: Selecting pipe B
display:     eDP-1: SetCrtc pipe B, disabling
display: }
CRC for a (0.00,1.00,0.00) fb: 001b6b6a 001f30f8 00454281 00454281 00203dd9
display: eDP-1: set_pipe(B)
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: B.0: plane_set_fb(44)
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: B.1: plane_set_fb(46)
display: B.1: plane_set_position(100,100)
display: commit {
display:     eDP-1: Selecting pipe B
display:     eDP-1: SetCrtc pipe B, fb 44, panning (0, 0), mode 1920x1080
display:     eDP-1: SetPlane B.1, fb 46, position (100, 100)
display: }
Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207:
Failed assertion: a->crc[i] == b->crc[i]
error: 0x1b6b6a != 0x289cb3
****  END  ****
Subtest plane-position-covered-pipe-B-plane-1: FAIL (3.566s)
Comment 14 Jesse Barnes 2015-04-03 16:02:28 UTC
Let's dupe it to the plane failure bug.

*** This bug has been marked as a duplicate of bug 84361 ***


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.