Bug 79819 - [ILK Bisected]igt/kms_sink_crc_basic fails
Summary: [ILK Bisected]igt/kms_sink_crc_basic 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-06-09 08:00 UTC by Guo Jinxian
Modified: 2016-11-22 08:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (97.99 KB, text/plain)
2014-06-09 08:00 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-06-09 08:00:58 UTC
Created attachment 100704 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
It's igt regression issue
Good commit of igt: 0675765eff4a7409afa98734aa0c8fbc02ce5ff6
Bad commit of igt: 18d2130110331e45423dff96aeec3ea802fa0857

Non-working platforms: ILK

==kernel==
--------------------------
origin/drm-intel-nightly: 969b3c5a312e849fa7a3dc0937a6acf34cdd7e25(fails)
    drm-intel-nightly: 2014y-06m-06d-22h-45m-15s integration manifest
origin/drm-intel-next-queued: e4964a6e664b4c338b5ab1f1820b0477bec68396(fails)
    drm/i915: Update DRIVER_DATE to 20140606
origin/drm-intel-fixes: 15d24aa5602fb87c7b1358cfabcfeb9b26db290f(fails)
    drm/i915: BDW: Adding missing cursor offsets.

==Bug detailed description==
-----------------------------
igt/kms_sink_crc_basic fails

Output:
./kms_sink_crc_basic
IGT-Version: 1.6-g18d2130 (i686) (Linux: 3.15.0-rc3_drm-intel-next-queued_e4964a_20140609+ i686)
Test assertion failure function basic_sink_crc_check, file kms_sink_crc_basic.c:143:
Last errno: 0, Success

if reset igt to 0675765eff4a7409afa98734aa0c8fbc02ce5ff6, the output is:
./kms_sink_crc_basic
IGT-Version: 1.6-g0675765 (i686) (Linux: 3.15.0-rc3_drm-intel-fixes_15d24a_20140609+ i686)
Test assertion failure function connector_set_mode, file kms_sink_crc_basic.c:106:
Last errno: 13, Permission denied
Failed assertion: ret == 0

==Reproduce steps==
---------------------------- 
1. ./kms_sink_crc_basic
Comment 1 Daniel Vetter 2014-06-13 08:24:52 UTC
Can you please bisect igt? The autobisector should make quick work of this ...
Comment 2 Guo Jinxian 2014-06-16 03:50:07 UTC
e2ac7a15f195b67a44c474920cd220baab92f6b1 is the first bad commit
commit e2ac7a15f195b67a44c474920cd220baab92f6b1
Author:     Ville Syrjälä <ville.syrjala@linux.intel.com>
AuthorDate: Tue Oct 29 18:17:39 2013 +0200
Commit:     Ville Syrjälä <ville.syrjala@linux.intel.com>
CommitDate: Fri Jun 13 20:39:13 2014 +0300


    tests/kms_sink_crc_basic: Use igt_assert

    Less verbose code makes for clearer test logic.

    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

:040000 040000 2e2b109d0e748b5e86a2367d839d09e22cbe60ea 7b4cd119854f41f66091fdbdbf6ba7ec9ae3eabc M      tests
Comment 3 Daniel Vetter 2014-06-16 06:50:03 UTC
Can you please paste the output of the test from a working version?
Comment 4 Guo Jinxian 2014-06-17 02:55:39 UTC
(In reply to comment #3)
> Can you please paste the output of the test from a working version?

On latest -fixes with good igt commit, the output is

[root@x-e6510 tests]# ./kms_sink_crc_basic
IGT-Version: 1.6-g0675765 (i686) (Linux: 3.15.0-rc8_drm-intel-fixes_223a6f_20140616+ i686)
CRC check for white differ from reference


The result I tested before was
./kms_sink_crc_basic
IGT-Version: 1.6-g0675765 (i686) (Linux: 3.15.0-rc3_drm-intel-fixes_15d24a_20140609+ i686)
Test assertion failure function connector_set_mode, file kms_sink_crc_basic.c:106:
Last errno: 13, Permission denied
Failed assertion: ret == 0
Comment 5 Rodrigo Vivi 2014-09-11 15:48:53 UTC
test case has been updated. Can you please retest with latest test case on latest dm-intel-nightly?
Comment 6 Guo Jinxian 2014-09-12 05:31:26 UTC
(In reply to comment #5)
> test case has been updated. Can you please retest with latest test case on
> latest dm-intel-nightly?

Test passed on latest -nightly(907d7b0519abe7b8eac453089decfe0fc5049171)

[root@x-e6510 tests]# ./kms_sink_crc_basic
IGT-Version: 1.8-g62f4d56 (i686) (Linux: 3.17.0-rc4_drm-intel-nightly_907d7b_20140912+ i686)
[root@x-e6510 tests]# echo $?
0
Comment 7 Jani Nikula 2014-09-12 07:31:51 UTC
(In reply to comment #6)
> Test passed on latest -nightly(907d7b0519abe7b8eac453089decfe0fc5049171)

Thanks, closing.
Comment 8 Jari Tahvanainen 2016-11-22 08:35:02 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.