Bug 83029 - [BYT]igt/kms_rotation_crc/sprite-rotation fails sporadically
Summary: [BYT]igt/kms_rotation_crc/sprite-rotation fails sporadically
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-08-25 02:15 UTC by Guo Jinxian
Modified: 2015-04-03 02:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.42 KB, text/plain)
2014-08-25 02:15 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-25 02:15:08 UTC
Created attachment 105208 [details]
dmesg

==System Environment==
--------------------------
Regression: Not sure. 
The test causes system hang before (bug 82237)
The fail rate about 50%

Non-working platforms: BYT

==kernel==
--------------------------
origin/drm-intel-nightly: 257d90d13794c2eb545ab0d6c708f21e2a0378b6(fails)
    drm-intel-nightly: 2014y-08m-21d-10h-03m-09s integration manifest
origin/drm-intel-next-queued: 3a5f87c286515c54ff5c52c3e64d0c522b7570c0(causes system hang bug 82237)
    drm: fix plane rotation when restoring fbdev configuration
origin/drm-intel-fixes: 1a125d8a2c22b11741fc47d4ffcf7a5ffa044dd3(skips)
    drm/i915: don't try to retrain a DP link on an inactive CRTC

==Bug detailed description==
igt/kms_rotation_crc/sprite-rotation fails

Output:
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140824+ x86_64)
Test assertion failure function test_plane_rotation, file kms_rotation_crc.c:184:
Failed assertion: igt_crc_equal(&data->ref_crc, &crc_output)
Subtest sprite-rotation: FAIL
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140824+ x86_64)
Subtest sprite-rotation: SUCCESS
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140824+ x86_64)
Test assertion failure function test_plane_rotation, file kms_rotation_crc.c:184:
Failed assertion: igt_crc_equal(&data->ref_crc, &crc_output)
Subtest sprite-rotation: FAIL
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140824+ x86_64)
Subtest sprite-rotation: SUCCESS
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux: 3.17.0-rc1_drm-intel-nightly_257d90_20140824+ x86_64)
Subtest sprite-rotation: SUCCESS

==Reproduce steps==
---------------------------- 
1. ./kms_rotation_crc --run-subtest sprite-rotation
Comment 1 Rodrigo Vivi 2015-01-13 19:24:26 UTC
Hi Guo,

I've just tested with a recent -nightly here and it pass 100%.
Could you please retest with latest -nightly?
Comment 2 Ding Heng 2015-01-20 07:48:26 UTC
I tested on byt with nightly latest:
d2a1764437d8b4c30948704ff6c64e4bbfd1df7c(2015-01-20)
case still failed, but output is a little different.

./kms_rotation_crc --run-subtest sprite-rotation
IGT-Version: 1.9-g20d6e0f (x86_64) (Linux: 3.19.0-rc4_drm-intel-nightly_d2a176_20150120+ x86_64)
(kms_rotation_crc:4460) CRITICAL: Test assertion failure function test_plane_rotation, file kms_rotation_crc.c:207:
(kms_rotation_crc:4460) CRITICAL: Failed assertion: igt_crc_equal(&data->ref_crc, &crc_output)
Subtest sprite-rotation: FAIL (0.331s)
Comment 3 Jesse Barnes 2015-04-02 16:44:06 UTC
Looks solid here now:

[root@jbarnes-byt tests]$ for i in `seq 1 20`; do ./kms_rotation_crc --run-subtest sprite-rotation; done
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.128s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.112s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.128s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.120s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.124s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.128s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.132s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.128s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.124s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.120s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.124s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.108s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.124s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.120s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
IGT-Version: 1.10-g590e47c (x86_64) (Linux: 4.0.0-rc6+ x86_64)
Subtest sprite-rotation: SUCCESS (4.116s)
[root@jbarnes-byt tests]$
Comment 4 Ding Heng 2015-04-03 02:44:54 UTC
Pass on latest nightly branch 333cf6eed7cae0ee2d6bb1b4c4d421b94f84fc13(2015-04-03) close this bug.


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.