Summary: | [IVB+ Bisected]3cc134e drm/i915: sanitize rps irq enabling | ||
---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | high | CC: | huax.lu, intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Guo Jinxian
2014-11-24 00:49:14 UTC
(In reply to Guo Jinxian from comment #0) > ==System Environment== > -------------------------- > Regression: Yes > > Non-working platforms: IVB > > ==kernel== > -------------------------- > origin/drm-intel-nightly: 0f8cb1fb8e01c53f9ad47344e9448d72df49fcf2 > drm-intel-nightly: 2014y-11m-21d-19h-18m-03s UTC integration manifest > > ==Bug detailed description== > (IVB)igt/gem_bad_reloc/negative-reloc PASS->NSPT Could you recheck if the bisect result for the above is correct? That is run the test on the parent commit of "drm/i915: sanitize rps irq enabling". > (IVB)igt/gem_reset_stats/ban-render PASS->DMESG_WARN > (IVB)igt/gem_reset_stats/ban-blt PASS->DMESG_WARN Could you check if the following two patches fixes the above two problems: http://lists.freedesktop.org/archives/intel-gfx/2014-November/055970.html (In reply to Imre Deak from comment #1) > (In reply to Guo Jinxian from comment #0) > > ==System Environment== > > -------------------------- > > Regression: Yes > > > > Non-working platforms: IVB > > > > ==kernel== > > -------------------------- > > origin/drm-intel-nightly: 0f8cb1fb8e01c53f9ad47344e9448d72df49fcf2 > > drm-intel-nightly: 2014y-11m-21d-19h-18m-03s UTC integration manifest > > > > ==Bug detailed description== > > > (IVB)igt/gem_bad_reloc/negative-reloc PASS->NSPT > > Could you recheck if the bisect result for the above is correct? That is run > the test on the parent commit of "drm/i915: sanitize rps irq enabling". Case igt/gem_bad_reloc/negative-reloc always skips, I didn't find good commit. > > > (IVB)igt/gem_reset_stats/ban-render PASS->DMESG_WARN > > (IVB)igt/gem_reset_stats/ban-blt PASS->DMESG_WARN > > Could you check if the following two patches fixes the above two problems: > > http://lists.freedesktop.org/archives/intel-gfx/2014-November/055970.html The failure still able to reproduce with this patch. [root@x-ivb9 tests]# ./gem_reset_stats --run-subtest ban-render IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc6_glody_d10cf9_20141125+ x86_64) Subtest ban-render: SUCCESS (12.087s) Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:881: Test requirement: gem_has_vebox(fd) [root@x-ivb9 tests]# echo $? 0 [root@x-ivb9 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <4>[ 74.858431] WARNING: CPU: 3 PID: 2338 at drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x95 [i915]() <4>[ 74.858494] battery dm_mod tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm [root@x-ivb9 tests]# ./gem_reset_stats --run-subtest ban-blt IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc6_glody_d10cf9_20141125+ x86_64) Subtest ban-blt: SUCCESS (11.789s) Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:881: Test requirement: gem_has_vebox(fd) [root@x-ivb9 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <4>[ 74.858431] WARNING: CPU: 3 PID: 2338 at drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x95 [i915]() <4>[ 74.858494] battery dm_mod tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm <4>[ 102.860728] WARNING: CPU: 2 PID: 707 at drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x95 [i915]() <4>[ 102.860791] battery dm_mod tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm (In reply to Guo Jinxian from comment #2) > (In reply to Imre Deak from comment #1) > > (In reply to Guo Jinxian from comment #0) > > > ==System Environment== > > > -------------------------- > > > Regression: Yes > > > > > > Non-working platforms: IVB > > > > > > ==kernel== > > > -------------------------- > > > origin/drm-intel-nightly: 0f8cb1fb8e01c53f9ad47344e9448d72df49fcf2 > > > drm-intel-nightly: 2014y-11m-21d-19h-18m-03s UTC integration manifest > > > > > > ==Bug detailed description== > > > > > (IVB)igt/gem_bad_reloc/negative-reloc PASS->NSPT > > > > Could you recheck if the bisect result for the above is correct? That is run > > the test on the parent commit of "drm/i915: sanitize rps irq enabling". > Case igt/gem_bad_reloc/negative-reloc always skips, I didn't find good > commit. Ok, so it's an unrelated bug, could you open a new ticket for it? > > > (IVB)igt/gem_reset_stats/ban-render PASS->DMESG_WARN > > > (IVB)igt/gem_reset_stats/ban-blt PASS->DMESG_WARN > > > > Could you check if the following two patches fixes the above two problems: > > > > http://lists.freedesktop.org/archives/intel-gfx/2014-November/055970.html > > The failure still able to reproduce with this patch. Did you apply both patches? You need patch 1/2 and patch 2/2 at the above link. Whit patch 055969 and 055970, test pass. [root@x-ivb9 tests]# ./gem_bad_reloc --run-subtest negative-reloc IGT-Version: 1.8-gb8f193b (x86_64) (Linux: 3.18.0-rc6_kcloud_d692c8_20141126+ x86_64) Found offset 8192 for 4k batch Batch is now at offset 266240 Subtest negative-reloc: SUCCESS (0.000s) [root@x-ivb9 tests]# dmesg -r|egrep "<[1-4]>"|grep drm Test on IVB and BDW with latest drm-intel-nightly kernel, it still exists. [root@x-ivb9 tests]# ./gem_reset_stats --run-subtest ban-blt IGT-Version: 1.8-gf333981 (x86_64) (Linux: 3.18.0_drm-intel-nightly_34d267_20141209+ x86_64) Subtest ban-blt: SUCCESS (11.983s) Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:881: Test requirement: gem_has_vebox(fd) [ 1670.744506] ------------[ cut here ]------------ [ 1670.746330] WARNING: CPU: 3 PID: 20373 at drivers/gpu/drm/i915/i915_irq.c:284 gen6_enable_rps_interrupts+0x34/0x94 [i915]() [ 1670.748144] WARN_ON(dev_priv->rps.pm_iir) [ 1670.748152] Modules linked in: snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek snd_hda_codec_generic dm_mod dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec lpc_ich mfd_core snd_hwdep snd_pcm snd_timer snd soundcore battery tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [ 1670.748154] CPU: 3 PID: 20373 Comm: kworker/3:1 Not tainted 3.18.0_drm-intel-nightly_34d267_20141209+ #2416 [ 1670.748154] Hardware name: Dell Inc. OptiPlex 9010/03JR84, BIOS A01 05/04/2012 [ 1670.748160] Workqueue: events intel_gen6_powersave_work [i915] [ 1670.748161] 0000000000000000 0000000000000009 ffffffff8178d5e2 ffff8800d4a63d58 [ 1670.748162] ffffffff8103a8cc ffff8800d4a85800 ffffffffa00b07e4 0000000000000297 [ 1670.748163] ffff880002ff0000 ffff8800da8ba000 ffff880002ff86d8 0000000000060000 [ 1670.748163] Call Trace: [ 1670.748167] [<ffffffff8178d5e2>] ? dump_stack+0x41/0x51 [ 1670.748171] [<ffffffff8103a8cc>] ? warn_slowpath_common+0x78/0x90 [ 1670.748178] [<ffffffffa00b07e4>] ? gen6_enable_rps_interrupts+0x34/0x94 [i915] [ 1670.748179] [<ffffffff8103a97c>] ? warn_slowpath_fmt+0x45/0x4a [ 1670.748185] [<ffffffffa008bd8f>] ? __gen6_update_ring_freq+0x133/0x14f [i915] [ 1670.748190] [<ffffffffa00b07e4>] ? gen6_enable_rps_interrupts+0x34/0x94 [i915] [ 1670.748195] [<ffffffffa008dba0>] ? intel_gen6_powersave_work+0xfa9/0xfca [i915] [ 1670.748197] [<ffffffff8104bbed>] ? process_one_work+0x1ae/0x31c [ 1670.748198] [<ffffffff8104bfd5>] ? worker_thread+0x255/0x350 [ 1670.748200] [<ffffffff8104bd80>] ? process_scheduled_works+0x25/0x25 [ 1670.748201] [<ffffffff8104f81e>] ? kthread+0xc5/0xcd [ 1670.748203] [<ffffffff8104f759>] ? kthread_freezable_should_stop+0x40/0x40 [ 1670.748204] [<ffffffff81792bec>] ? ret_from_fork+0x7c/0xb0 [ 1670.748205] [<ffffffff8104f759>] ? kthread_freezable_should_stop+0x40/0x40 [ 1670.748206] ---[ end trace b0d8bb257298ce09 ]--- *** Bug 87182 has been marked as a duplicate of this bug. *** commit dbea3cea69508e9d548ed4a6be13de35492e5d15 Author: Imre Deak <imre.deak@intel.com> Date: Mon Dec 15 18:59:28 2014 +0200 drm/i915: sanitize RPS resetting during GPU reset pushed to drm-intel-next-fixes. I have tested using latest commit.The rsult is PASS. Closing old verified. |
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.