Bug 84029 - [BDW Regression]igt/pm_rpm some subcases causes "WARNING: CPU: 0 PID: 4556 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()"
Summary: [BDW Regression]igt/pm_rpm some subcases causes "WARNING: CPU: 0 PID: 4556 at...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 06:53 UTC by Guo Jinxian
Modified: 2017-10-06 14:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (94.62 KB, text/plain)
2014-09-18 06:53 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-09-18 06:53:39 UTC
Created attachment 106478 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes.
Good commit on -fixes: e76c8c5979021483a3a6b480cfe360c644a403c0

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly:3e5e5913a80f593aa8f67784220eac2658034c6c(fails)
    drm-intel-nightly: 2014y-09m-17d-16h-09m-44s UTC integration manifest
origin/drm-intel-next-queued:de6a03dbc12c72e8ddd936071936fe96633c9d05(works)
    drm/i915: Clarify mmio_flip_lock locking
origin/drm-intel-fixes: d72985765e986f45a28f87d75f3f0ece489b04cc(fails)
    drm/i915: Add limited color range readout for HDMI/DP ports on g4x/vlv/chv


==Bug detailed description==
-----------------------------
igt/pm_rpm some subcases causes "WARNING: CPU: 0 PID: 4556 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()"

Case list:
igt/pm_rpm/dpms-lpsp
igt/pm_rpm/dpms-mode-unset-lpsp
igt/pm_rpm/drm-resources-equal
igt/pm_rpm/fences
igt/pm_rpm/gem-execbuf
igt/pm_rpm/gem-mmap-cpu
igt/pm_rpm/gem-mmap-gtt
igt/pm_rpm/gem-pread
igt/pm_rpm/i2c
igt/pm_rpm/modeset-lpsp
igt/pm_rpm/modeset-lpsp-stress
igt/pm_rpm/pci-d3-state
igt/pm_rpm/rte

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest dpms-lpsp
IGT-Version: 1.8-g1244fc6 (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Subtest dpms-lpsp: SUCCESS (1.386s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[   43.190160] WARNING: CPU: 0 PID: 4556 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()
<4>[   43.190162] Modules linked in: 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_hwdep lpc_ich snd_pcm mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[   43.190179] CPU: 0 PID: 4556 Comm: pm_rpm Not tainted 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[   43.190287]  [<ffffffffa0017fe5>] ? drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[   43.190294]  [<ffffffffa001ba0e>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[   43.190301]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[   43.190312]  [<ffffffffa001b628>] ? drm_mode_setplane+0x1ce/0x1ce [drm]

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest dpms-lpsp
Comment 1 Paulo Zanoni 2014-09-18 13:26:38 UTC
This bug was caused by "drm/i915: Don't enable IPS when pixel rate exceeds 95% of cdclk" which was on -fixes. Jani removed the patch from -fixes, so the bug should be gone. Please reopen if it still happens.
Comment 2 Guo Jinxian 2014-09-19 08:42:46 UTC
Verified on latest -nightly(3d788a0e87efd99553d5b00a70ab2a162c2c2283)


root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest dpms-lpsp
IGT-Version: 1.8-g5053446 (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_3d788a_20140919+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Subtest dpms-lpsp: SUCCESS (1.385s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep "<[1-4]>"|grep drm
Comment 3 Elizabeth 2017-10-06 14:35:36 UTC
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.