Bug 81708 - [BDW Regression]igt/kms_universal_plane/disable-primary-vs-flip-pipe-A causes " WARNING: CPU: 0 PID: 4454 at drivers/gpu/drm/i915/intel_display.c:1278 assert_plane+0x7b/0x80 [i915]()"
Summary: [BDW Regression]igt/kms_universal_plane/disable-primary-vs-flip-pipe-A causes...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: highest normal
Assignee: Damien Lespiau
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 08:25 UTC by Guo Jinxian
Modified: 2016-11-22 07:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (111.06 KB, text/plain)
2014-07-24 08:25 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-07-24 08:25:12 UTC
Created attachment 103390 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes

Good commit on drm-next: bc1dfff04a5d4064ba0db1fab13f84ab4f333d2b

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: af1aaba219fdd90ca1b30f9b8d8d19352224f170(fails)
    drm-intel-nightly: 2014y-07m-23d-20h-15m-10s integration manifest
origin/drm-intel-next-queued: 2b8ee5710915a244b807fbe3427299d007d19e89(works)
    drm/i915: Allow overlapping userptr objects  
origin/drm-intel-fixes: eedd10f45bdcb2a5b2afa35f845e080c3bc984f2(works)
    drm/i915: Simplify i915_gem_release_all_mmaps()
origin/drm-fixes: ec8a362f2e6e380e7a1f66a6c9a7f6c237ab3520(works)
    Merge branch 'drm-fixes-3.16' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
origin/drm-mext:78660d5fb03f5d0e6a880dcd704702fd364d93f3(fails)
    Merge branch 'component-for-drm' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next

==Bug detailed description==
-----------------------------
igt/kms_universal_plane/disable-primary-vs-flip-pipe-A causes " WARNING: CPU: 0 PID: 4454 at drivers/gpu/drm/i915/intel_display.c:1278 assert_plane+0x7b/0x80 [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.7-g70e6ed9 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_af1aab_20140724_debug+ x86_64)
Subtest disable-primary-vs-flip-pipe-A: SUCCESS
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep ""<[1-4]>""|grep drm                          <4>[   67.919774] WARNING: CPU: 0 PID: 4390 at drivers/gpu/drm/i915/intel_display.c:1278 assert_plane.constprop.48+0x60/0x64 [i915]()
<4>[   67.919834] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 lpc_ich mfd_core snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq joydev i915 button video drm_kms_helper drm
<4>[   67.919875] CPU: 0 PID: 4390 Comm: kms_universal_p Not tainted 3.16.0-rc6_drm-intel-nightly_af1aab_20140724_debug+ #766
<4>[   67.920390]  [<ffffffffa000cd2a>] drm_mode_set_config_internal+0x5a/0xd2 [drm]
<4>[   67.920465]  [<ffffffffa0010956>] drm_mode_setcrtc+0x3ef/0x499 [drm]
<4>[   67.920478]  [<ffffffffa0003223>] drm_ioctl+0x2bd/0x425 [drm]
<4>[   67.920494]  [<ffffffffa0010567>] ? drm_mode_setplane+0x181/0x181 [drm]


Reproduce steps:
-------------------------
1. ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
Comment 1 Guo Jinxian 2014-07-24 08:27:52 UTC
The result on good commit(2014_07_01/drm-next/bc1dfff04a5d4064ba0db1fab13f84ab4f333d2b) was skip

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# time ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
IGT-Version: 1.7-g70e6ed9 (x86_64) (Linux: 3.15.0-rc8_drm-next_bc1dff_20140701_debug+ x86_64)
Test requirement not met in function __real_main552, file kms_universal_plane.c:565:
Test requirement: (!(data.display.has_universal_planes))
Last errno: 22, Invalid argument
Subtest disable-primary-vs-flip-pipe-A: SKIP
Comment 2 liulei 2014-07-29 03:27:31 UTC
I tested latest -nightly and latest drm-next, this sub case passed.

[root@x-bdw01 tests]# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
IGT-Version: 1.7-ge48c495 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_608e8c_20140729+ x86_64)
Subtest disable-primary-vs-flip-pipe-A: SUCCESS
Comment 3 Jani Nikula 2014-09-02 12:11:04 UTC
(In reply to comment #2)
> I tested latest -nightly and latest drm-next, this sub case passed.
> 
> [root@x-bdw01 tests]# ./kms_universal_plane --run-subtest
> disable-primary-vs-flip-pipe-A
> IGT-Version: 1.7-ge48c495 (x86_64) (Linux:
> 3.16.0-rc6_drm-intel-nightly_608e8c_20140729+ x86_64)
> Subtest disable-primary-vs-flip-pipe-A: SUCCESS

Presuming fixed then, please reopen if the problem persists.
Comment 4 Guo Jinxian 2014-09-03 03:44:51 UTC
Verified.

[root@x-bdw01 tests]# ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A
IGT-Version: 1.7-gf473a55 (x86_64) (Linux: 3.17.0-rc2_drm-intel-fixes_bbfb44_20140903+ x86_64)
Warning on condition flags != 0 in fucntion check_stop_rings, file drmtest.c:112
i915_ring_stop flags on exit 0xc0000004, can't quiescent gpu cleanly
Subtest disable-primary-vs-flip-pipe-A: SUCCESS
[root@x-bdw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
<4>[   64.863832] WARNING: CPU: 0 PID: 4893 at drivers/gpu/drm/i915/intel_display.c:1278 hsw_disable_ips+0x2d/0x15a [i915]()
<4>[   64.863838] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables iTCO_wdt dm_mod iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep lpc_ich mfd_core snd_pcm snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[   64.863892] CPU: 0 PID: 4893 Comm: kms_universal_p Not tainted 3.17.0-rc2_drm-intel-fixes_bbfb44_20140903+ #2092
<4>[   64.864068]  [<ffffffffa001f6ab>] ? drm_get_edid+0x1e/0x231 [drm]
<4>[   64.864126]  [<ffffffffa0017ea6>] ? drm_mode_set_config_internal+0x4b/0xb3 [drm]
<4>[   64.864138]  [<ffffffffa001b82e>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[   64.864151]  [<ffffffffa00108dc>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[   64.864162]  [<ffffffffa001b448>] ? drm_mode_setplane+0x16d/0x16d [drm]


About new Calltrace, was tracked by bug 83177
Comment 5 Jari Tahvanainen 2016-11-22 07:08:47 UTC
Closing old 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.