Bug 85220 - [BDW]igt/kms_flip some subcases cause "[drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem."
Summary: [BDW]igt/kms_flip some subcases cause "[drm:hsw_unclaimed_reg_detect.isra.6 [...
Status: CLOSED DUPLICATE of bug 83094
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-10-20 08:31 UTC by Guo Jinxian
Modified: 2016-10-07 08:54 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.04 KB, text/plain)
2014-10-20 08:31 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-10-20 08:31:04 UTC
Created attachment 108092 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
They are only fail on nightly branch

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 8d1dbeed28a28ecf964769bf089503f0c90ffdaa(fails)
    drm-intel-nightly: 2014y-10m-19d-14h-54m-38s UTC integration manifest
origin/drm-intel-next-queued: 6476486cb3570d3662e4a3870b884e75d35d1072(another bug 83094)
    drm/i915: Document that mmap forwarding is discouraged
origin/drm-intel-fixes: bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9(another bug 83094)
    Linux 3.17

==Bug detailed description==
igt/kms_flip some subcases cause "[drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem."

Case list:
igt/kms_flip/vblank-vs-dpms-suspend
igt/kms_flip/vblank-vs-dpms-suspend-interruptible
igt/kms_flip/vblank-vs-modeset-suspend
igt/kms_flip/vblank-vs-modeset-suspend-interruptible
igt/kms_flip/vblank-vs-suspend
igt/kms_flip/vblank-vs-suspend-interruptible
igt/kms_pipe_crc_basic/suspend-read-crc-pipe-A
igt/kms_pipe_crc_basic/suspend-read-crc-pipe-B
igt/kms_pipe_crc_basic/suspend-read-crc-pipe-C
igt/pm_rpm/system-suspend
igt/gem_workarounds/check-workaround-data-after-suspend-resume



Output:
"root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-modeset-suspend-interruptible
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.17.0_drm-intel-nightly_8d1dbe_20141020+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-suspend-interruptible on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:06:42 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:07:14 2014

vblank-vs-modeset-suspend-interruptible on crtc 8, connector 19: PASSED

Beginning vblank-vs-modeset-suspend-interruptible on crtc 12, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:07:46 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:08:18 2014

vblank-vs-modeset-suspend-interruptible on crtc 12, connector 19: PASSED

Beginning vblank-vs-modeset-suspend-interruptible on crtc 16, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:08:50 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:09:22 2014

vblank-vs-modeset-suspend-interruptible on crtc 16, connector 19: PASSED

Subtest vblank-vs-modeset-suspend-interruptible: SUCCESS (10.538s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep ""<[1-4]>""|grep drm         <3>[  390.912991] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  392.685532] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  394.518097] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  396.269628] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  398.091189] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  399.834712] [drm:hsw_unclaimed_reg_detect.isra.6 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.


==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest vblank-vs-modeset-suspend-interruptible
Comment 1 Guo Jinxian 2014-10-20 08:32:42 UTC
With "i915.mmio_debug=1",dmesg error shows below:

"root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-modeset-suspend-interruptible
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.17.0_drm-intel-nightly_8d1dbe_20141020+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-suspend-interruptible on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:14:13 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:14:45 2014

vblank-vs-modeset-suspend-interruptible on crtc 8, connector 19: PASSED

Beginning vblank-vs-modeset-suspend-interruptible on crtc 12, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:15:17 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:15:49 2014

vblank-vs-modeset-suspend-interruptible on crtc 12, connector 19: PASSED

Beginning vblank-vs-modeset-suspend-interruptible on crtc 16, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:16:21 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Oct 20 19:16:53 2014

vblank-vs-modeset-suspend-interruptible on crtc 16, connector 19: PASSED

Subtest vblank-vs-modeset-suspend-interruptible: SUCCESS (11.066s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep ""<[1-4]>""|grep drm         <4>[  112.194529] WARNING: CPU: 0 PID: 2666 at drivers/gpu/drm/i915/intel_uncore.c:525 hsw_unclaimed_reg_debug.isra.10+0x62/0x72 [i915]()
<4>[  112.194541] 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 i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  112.194544] CPU: 0 PID: 2666 Comm: kworker/0:2 Tainted: G        W      3.17.0_drm-intel-nightly_8d1dbe_20141020+ #678
<4>[  114.051239] WARNING: CPU: 3 PID: 4636 at drivers/gpu/drm/i915/intel_uncore.c:525 hsw_unclaimed_reg_debug.isra.10+0x62/0x72 [i915]()
<4>[  114.051257] 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 i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  114.051260] CPU: 3 PID: 4636 Comm: kworker/u16:22 Tainted: G        W      3.17.0_drm-intel-nightly_8d1dbe_20141020+ #678
<4>[  114.051385]  [<ffffffffa007d39b>] ? i915_drm_thaw_early+0x15/0x4f [i915]
<4>[  115.882932] WARNING: CPU: 3 PID: 4623 at drivers/gpu/drm/i915/intel_uncore.c:525 hsw_unclaimed_reg_debug.isra.10+0x62/0x72 [i915]()
<4>[  115.882950] 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 i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  115.882953] CPU: 3 PID: 4623 Comm: kworker/u16:11 Tainted: G        W      3.17.0_drm-intel-nightly_8d1dbe_20141020+ #678
<4>[  115.883071]  [<ffffffffa007d39b>] ? i915_drm_thaw_early+0x15/0x4f [i915]
<4>[  117.934572] WARNING: CPU: 0 PID: 4646 at drivers/gpu/drm/i915/intel_uncore.c:525 hsw_unclaimed_reg_debug.isra.10+0x62/0x72 [i915]()
<4>[  117.934584] 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 i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  117.934587] CPU: 0 PID: 4646 Comm: kworker/u16:32 Tainted: G        W      3.17.0_drm-intel-nightly_8d1dbe_20141020+ #678
<4>[  117.934683]  [<ffffffffa007d39b>] ? i915_drm_thaw_early+0x15/0x4f [i915]
<4>[  119.788136] WARNING: CPU: 1 PID: 4630 at drivers/gpu/drm/i915/intel_uncore.c:525 hsw_unclaimed_reg_debug.isra.10+0x62/0x72 [i915]()
<4>[  119.788153] 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 i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  119.788157] CPU: 1 PID: 4630 Comm: kworker/u16:16 Tainted: G        W      3.17.0_drm-intel-nightly_8d1dbe_20141020+ #678
<4>[  119.788283]  [<ffffffffa007d39b>] ? i915_drm_thaw_early+0x15/0x4f [i915]
"
Comment 2 Paulo Zanoni 2014-10-20 12:50:28 UTC

*** This bug has been marked as a duplicate of bug 83094 ***
Comment 3 Jari Tahvanainen 2016-10-07 08:54:27 UTC
Closing as duplicate of closed+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.