Bug 90209

Summary: [BDW / BSW] igt/igt/kms_universal_plane subcase disable-primary-vs-flip-pipe-A causes WARNING: CPU: 0 PID: 29343 at drivers/gpu/drm/i915/intel_display.c:1359 hsw_disable_ips+0x34/0x162 [i915]()
Product: DRI Reporter: ye.tian <yex.tian>
Component: DRM/IntelAssignee: Jairo Miramontes <jairo.daniel.miramontes.caton>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: BDW, BSW/CHT i915 features: display/Other
Attachments:
Description Flags
dmesg info none

Description ye.tian 2015-04-28 06:33:16 UTC
Created attachment 115390 [details]
dmesg info

==System Environment==       
-----------------------------------------------------
Regression: not sure
Non-working platforms: BDW

==Kernel==
--------------------------------------------------
commit 92bb36c80e561f82b1f4b63cc269a71833137841
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Apr 24 00:26:53 2015 +0300

    drm-intel-nightly: 2015y-04m-23d-21h-26m-24s UTC integration manifest


==Bug detailed description==
--------------------------------------------------
igt/igt/kms_universal_plane subcase disable-primary-vs-flip-pipe-A causes WARNING: CPU: 0 PID: 29343 at drivers/gpu/drm/i915/intel_display.c:1359 hsw_disable_ips+0x34/0x162[i915]()

==Output==
--------------------------------------
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
IGT-Version: 1.10-gfc69bb0 (x86_64) (Linux: 4.0.0_drm-intel-nightly_92bb36_20150424+ x86_64)
Subtest disable-primary-vs-flip-pipe-A: SUCCESS (0.461s)

==Output dmesg info==
-------------------------------------------------------------------
[ 9291.963111] ------------[ cut here ]------------
[ 9291.963122] WARNING: CPU: 0 PID: 29343 at drivers/gpu/drm/i915/intel_display.c:1359 hsw_disable_ips+0x34/0x162 [i915]()
[ 9291.963124] plane A assertion failure (expected on, current off)
[ 9291.963125] Modules linked in: ipv6 dm_mod iTCO_wdt iTCO_vendor_support ppdev snd_hda_codec_hdmi pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hda_core snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm
[ 9291.963138] CPU: 0 PID: 29343 Comm: kms_universal_p Tainted: G        W       4.0.0_drm-intel-nightly_92bb36_20150424+ #38
[ 9291.963139]  0000000000000000 0000000000000009 ffffffff81795847 ffff8800028e7de8
[ 9291.963141]  ffffffff8103bd5a ffff8801445a6400 ffffffffa00d17d9 ffff8800028e7e08
[ 9291.963143]  ffff880002d20000 ffff880144bc9000 ffff8800a7e14800 ffff880002d20000
[ 9291.963145] Call Trace:
[ 9291.963148]  [<ffffffff81795847>] ? dump_stack+0x40/0x50
[ 9291.963150]  [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0
[ 9291.963161]  [<ffffffffa00d17d9>] ? hsw_disable_ips+0x34/0x162 [i915]
[ 9291.963164]  [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a
[ 9291.963175]  [<ffffffffa00d17d9>] ? hsw_disable_ips+0x34/0x162 [i915]
[ 9291.963185]  [<ffffffffa009115f>] ? display_crc_ctl_write+0x5d9/0x907 [i915]
[ 9291.963188]  [<ffffffff8111100a>] ? __sb_start_write+0xa5/0xd5
[ 9291.963190]  [<ffffffff8110f29d>] ? vfs_write+0xb0/0x186
[ 9291.963193]  [<ffffffff8110fc0c>] ? SyS_write+0x41/0x84
[ 9291.963195]  [<ffffffff8179b0f2>] ? system_call_fastpath+0x12/0x17
[ 9291.963196] ---[ end trace ddf8f1b5d46177e9 ]---
==Reproduce steps==
----------------------------
1, ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
Comment 1 ye.tian 2015-05-07 06:52:52 UTC
Test it on the latest nightly kernel(87afe9) and latest igt(159562c8), this problem still exists.
Comment 2 ye.tian 2015-06-12 07:06:54 UTC
This problem still exists.
Comment 3 maria guadalupe 2016-11-24 20:10:26 UTC
Issue still present over BSW with the following config:

tests failed
===========================================
igt@kms_universal_plane@disable-primary-vs-flip-pipe-a

 Software information
============================================
Kernel version                  : 4.9.0-rc6-nightly+
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
Gfx stack code                  : 2141224538
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.4
DRM version                     : 2.4.73
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.16-156-gcddf996] / Commit [cddf996]
Kernel driver in use            : i915
Bios revision                   : 0.33
Bios release date               : 08/12/2015
KSC revision                    : 0.16


 Hardware information
============================================
Platform                        : BSW
Motherboard model               : 10G9000NUS
Motherboard type                : BRASWELL Desktop
Motherboard manufacturer        : LENOVO
CPU family                      : Pentium
CPU information                 : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
GPU Card                        : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB
CPU thread                      : 4
CPU core                        : 4
Hard drive capacity             : 476GiB (512GB)
Comment 4 Jari Tahvanainen 2017-03-27 14:59:56 UTC
Please check out the latest results on BDW and BSW. AFAIK tests are now having SKIP verdict, not dmesg-warn nor dmesg-fail.
Comment 5 Jairo Miramontes 2017-03-27 19:52:31 UTC
So... as of WW10 results, results for this test in BSW are "skip"
and BDW result is pass... IGT is currently running again on both BSW and BDW, as soon as it's done will check a more recent result.
Comment 6 Jari Tahvanainen 2017-04-19 09:54:27 UTC
Marking resolved+fixed due to WW13 results.
4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (BDW-1-NUC5i5RYB) 
igt@kms_universal_plane@disable-primary-vs-flip-pipe-a		Pass
4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (BSW-1-BRASWELL)
igt@kms_universal_plane@disable-primary-vs-flip-pipe-a		Pass
Unfortunately the patchID for fix is unknown.

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.