Bug 82650 - [BSW]igt/kms_sink_crc_basic fails
Summary: [BSW]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
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-15 05:43 UTC by Guo Jinxian
Modified: 2016-09-28 13:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (30.33 KB, text/plain)
2014-08-15 05:43 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-15 05:43:30 UTC
Created attachment 104654 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
This case always fails

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: 2b6e6b9c29dbdaf596cad99877384af8b406d103(fails)
    drm-intel-nightly: 2014y-08m-14d-22h-50m-42s integration manifest
origin/drm-intel-next-queued: 4ed91096881449012b14b1e879f40b4a37533e0e(fails)
    drm/i915: Track cursor changes as frontbuffer tracking flushes
origin/drm-intel-fixes: 103ae732ad26141515f109c80b5c1ced16e457c3(fails)
    drm/i915: Don't try to enable cursor from setplane when crtc is disabled

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

Output:
[root@x-bsw01 tests]# ./kms_sink_crc_basic
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_drm-intel-nightly_2b6e6b_20140815+ x86_64)
Test assertion failure function basic_sink_crc_check, file kms_sink_crc_basic.c:135:
Failed assertion: strcmp(ref_crc_black, ref_crc_white) != 0
[root@x-bsw01 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<3>[ 2607.875641] [drm:wait_panel_status] *ERROR* Panel status timeout: status a0000002 control abcd0000
<4>[ 2607.897676] WARNING: CPU: 0 PID: 4662 at drivers/gpu/drm/i915/intel_dp.c:3263 chv_post_disable_dp+0x54/0x10f [i915]()
<4>[ 2607.897680] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 2607.897730] CPU: 0 PID: 4662 Comm: kms_sink_crc_ba Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[ 2607.897997]  [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[ 2607.898015]  [<ffffffffa001bba6>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[ 2607.898030]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 2607.898047]  [<ffffffffa001b7c0>] ? drm_mode_setplane+0x16d/0x16d [drm]
<3>[ 2609.154324] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
<3>[ 2609.174484] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
<4>[ 2609.179348] WARNING: CPU: 3 PID: 4662 at drivers/gpu/drm/i915/intel_display.c:10650 intel_modeset_check_state+0x320/0x611 [i915]()
<4>[ 2609.179380] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 2609.179385] CPU: 3 PID: 4662 Comm: kms_sink_crc_ba Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[ 2609.179557]  [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[ 2609.179564]  [<ffffffffa005dab1>] ? restore_fbdev_mode+0xa9/0xc2 [drm_kms_helper]
<4>[ 2609.179571]  [<ffffffffa005dae7>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper]
<4>[ 2609.179578]  [<ffffffffa005ee21>] ? drm_fb_helper_set_par+0x3a/0x59 [drm_kms_helper]
<3>[ 2609.187686] [drm:intel_pipe_config_compare] *ERROR* mismatch in has_dp_encoder (expected 1, found 0)
<4>[ 2609.187719] WARNING: CPU: 3 PID: 4662 at drivers/gpu/drm/i915/intel_display.c:10720 check_crtc_state+0xa32/0xa6a [i915]()
<4>[ 2609.187746] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic serio_raw pcspkr snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 2609.187751] CPU: 3 PID: 4662 Comm: kms_sink_crc_ba Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[ 2609.187945]  [<ffffffffa001818b>] ? drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[ 2609.187952]  [<ffffffffa005dab1>] ? restore_fbdev_mode+0xa9/0xc2 [drm_kms_helper]
<4>[ 2609.187959]  [<ffffffffa005dae7>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper]
<4>[ 2609.187966]  [<ffffffffa005ee21>] ? drm_fb_helper_set_par+0x3a/0x59 [drm_kms_helper]


Reproduce steps:
-------------------------
1. ./kms_sink_crc_basic
Comment 1 Guo Jinxian 2014-08-28 08:40:56 UTC
Test failed on ILK on latest -fixes(a4bf214ffc721f3b82321714d614be937b982a94)

[root@x-e6510 tests]# ./kms_sink_crc_basic
IGT-Version: 1.7-g50166d2 (i686) (Linux: 3.17.0-rc2_drm-intel-fixes_a4bf21_20140827+ i686)
Test assertion failure function basic_sink_crc_check, file kms_sink_crc_basic.c:141:
Failed assertion: strcmp(crc_check, ref_crc_white) == 0
Comment 2 Rodrigo Vivi 2014-09-11 15:49:25 UTC
test case has been updated. Can you please retest with latest test case on latest dm-intel-nightly?
Comment 3 Guo Jinxian 2014-09-12 05:19:04 UTC
(In reply to comment #2)
> test case has been updated. Can you please retest with latest test case on
> latest dm-intel-nightly?

Test passed on latest -nightly(72faa6a63351879b381bd9e4013f38bc94f11999)

[root@x-bsw01 tests]# ./kms_sink_crc_basic
IGT-Version: 1.8-g107151c (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ x86_64)
[root@x-bsw01 tests]# echo $?
0
Comment 4 Jani Nikula 2014-09-12 07:31:26 UTC
(In reply to comment #3)
> Test passed on latest -nightly(72faa6a63351879b381bd9e4013f38bc94f11999)

Thanks, closing.
Comment 5 Jari Tahvanainen 2016-09-28 13:24:33 UTC
closing.


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.