Bug 83177 - [BDW Regression]igt/pm_rpm some subcases cause “WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_display.c:1294 hsw_disable_ips+0x2d/0x15a [i915]()”
Summary: [BDW Regression]igt/pm_rpm some subcases cause “WARNING: CPU: 0 PID: 4578 at ...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 06:19 UTC by Guo Jinxian
Modified: 2017-07-03 08:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (35.67 KB, text/plain)
2014-08-28 06:19 UTC, Guo Jinxian
no flags Details
dmesg (120.36 KB, text/plain)
2014-09-18 05:37 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-28 06:19:53 UTC
Created attachment 105369 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
Good commit on -next-queued: 3a5f87c286515c54ff5c52c3e64d0c522b7570c0

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: e91331cf71c509af3dfae75cd9bca3db13d7da95(fails)
    drm-intel-nightly: 2014y-08m-27d-21h-32m-10s integration manifest
origin/drm-intel-next-queued: 661ccef518a23dd6b3aff11ca6eee9c71568f37a(works)
    drm/i915/bdw: BDW Software Turbo
origin/drm-intel-fixes: 813008cd3e93ea8a571b2b7d5b9360a3105b50f7(fails)
    drm/i915: don't warn if backlight unexpectedly enabled

==Bug detailed description==
igt/pm_rpm some subcases cause “WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_display.c:1294 hsw_disable_ips+0x2d/0x15a [i915]()”

Case list:
igt/pm_rpm/cursor
igt/pm_rpm/cursor-dpms
igt/pm_rpm/debugfs-forcewake-user
igt/pm_rpm/debugfs-read
igt/pm_rpm/dpms-lpsp
igt/pm_rpm/dpms-mode-unset-lpsp
igt/pm_rpm/fences
igt/pm_rpm/fences-dpms
igt/pm_rpm/gem-execbuf-stress
igt/pm_rpm/gem-execbuf-stress-extra-wait
igt/pm_rpm/gem-execbuf-stress-pc8
igt/pm_rpm/legacy-planes
igt/pm_rpm/legacy-planes-dpms
igt/pm_rpm/modeset-lpsp
igt/pm_rpm/modeset-pc8-residency-stress
igt/pm_rpm/pc8-residency
igt/pm_rpm/reg-read-ioctl
igt/pm_rpm/rte
igt/pm_rpm/sysfs-read
igt/pm_rpm/system-suspend
igt/pm_rpm/universal-planes

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest cursor
IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_e91331_20140828+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Subtest cursor: SUCCESS
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[  377.801759] WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_display.c:1294 hsw_disable_ips+0x2d/0x15a [i915]()
<4>[  377.801762] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller lpc_ich mfd_core 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>[  377.801807] CPU: 0 PID: 4578 Comm: pm_rpm Tainted: G        W      3.17.0-rc2_drm-intel-nightly_e91331_20140828+ #1896
<4>[  377.801971]  [<ffffffffa0018149>] ? drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  377.801979]  [<ffffffffa001bb64>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[  377.801986]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  377.801996]  [<ffffffffa001b77e>] ? drm_mode_setplane+0x16d/0x16d [drm]
<4>[  379.997434] WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  379.997436] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller lpc_ich mfd_core 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>[  379.997453] CPU: 0 PID: 4578 Comm: pm_rpm Tainted: G        W      3.17.0-rc2_drm-intel-nightly_e91331_20140828+ #1896
<4>[  379.997514]  [<ffffffffa0023897>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  379.997521]  [<ffffffffa00190d4>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  379.997531]  [<ffffffffa00192c9>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  379.997538]  [<ffffffffa001bc3a>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  379.997545]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  379.997554]  [<ffffffffa001bc09>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  379.997590] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  379.997607] WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  379.997609] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller lpc_ich mfd_core 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>[  379.997624] CPU: 0 PID: 4578 Comm: pm_rpm Tainted: G        W      3.17.0-rc2_drm-intel-nightly_e91331_20140828+ #1896
<4>[  379.997677]  [<ffffffffa0018ecc>] ? setplane_internal+0x5a/0x2bc [drm]
<4>[  379.997687]  [<ffffffffa00192c9>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  379.997694]  [<ffffffffa001bc3a>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  379.997700]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  379.997708]  [<ffffffffa001bc09>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  379.997740] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  382.054184] WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  382.054186] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller lpc_ich mfd_core 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>[  382.054202] CPU: 0 PID: 4578 Comm: pm_rpm Tainted: G        W      3.17.0-rc2_drm-intel-nightly_e91331_20140828+ #1896
<4>[  382.054257]  [<ffffffffa0023897>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  382.054264]  [<ffffffffa00190d4>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  382.054274]  [<ffffffffa00192c9>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  382.054281]  [<ffffffffa001bc3a>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  382.054288]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  382.054296]  [<ffffffffa001bc09>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  382.054329] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  386.068681] WARNING: CPU: 0 PID: 4578 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  386.068683] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller lpc_ich mfd_core 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>[  386.068698] CPU: 0 PID: 4578 Comm: pm_rpm Tainted: G        W      3.17.0-rc2_drm-intel-nightly_e91331_20140828+ #1896
<4>[  386.068756]  [<ffffffffa0018ecc>] ? setplane_internal+0x5a/0x2bc [drm]
<4>[  386.068766]  [<ffffffffa00192c9>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  386.068774]  [<ffffffffa001bc3a>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  386.068780]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  386.068789]  [<ffffffffa001bc09>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  386.068822] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest cursor
Comment 1 Guo Jinxian 2014-08-28 06:24:20 UTC
This bug is able to reproduce while running tests below:

igt/kms_pipe_crc_basic/hang-read-crc-pipe-C
igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-1
igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-1
igt/kms_plane/plane-panning-top-left-pipe-B-plane-1
igt/kms_plane/plane-panning-top-left-pipe-C-plane-1
igt/kms_plane/plane-position-covered-pipe-A-plane-1
igt/kms_plane/plane-position-covered-pipe-B-plane-1
igt/kms_plane/plane-position-covered-pipe-C-plane-1
igt/kms_plane/plane-position-hole-pipe-A-plane-1
igt/kms_plane/plane-position-hole-pipe-B-plane-1
igt/kms_plane/plane-position-hole-pipe-C-plane-1
igt/kms_universal_plane/disable-primary-vs-flip-pipe-A
Comment 2 Jani Nikula 2014-08-28 07:37:44 UTC
Is there an earlier upstream kernel where this works?
Comment 3 Guo Jinxian 2014-08-28 07:54:22 UTC
(In reply to comment #2)
> Is there an earlier upstream kernel where this works?

test passed on commit -next-queued: 3a5f87c286515c54ff5c52c3e64d0c522b7570c0(2014_08_24), I will bisect as soon as possible
Comment 4 Jani Nikula 2014-08-28 09:34:17 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Is there an earlier upstream kernel where this works?
> 
> test passed on commit -next-queued:
> 3a5f87c286515c54ff5c52c3e64d0c522b7570c0(2014_08_24), I will bisect as soon
> as possible

I meant upstream kernel as in Linus' kernel. drm-intel-next-queued works, but as we merge drm-intel-fixes on it, it fails.
Comment 5 Guo Jinxian 2014-08-29 05:23:47 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Is there an earlier upstream kernel where this works?
> > 
> > test passed on commit -next-queued:
> > 3a5f87c286515c54ff5c52c3e64d0c522b7570c0(2014_08_24), I will bisect as soon
> > as possible
> 
> I meant upstream kernel as in Linus' kernel. drm-intel-next-queued works,
> but as we merge drm-intel-fixes on it, it fails.

Upstream kernel unable to boot because Bug 81140
Comment 6 Guo Jinxian 2014-09-17 07:54:14 UTC
The dmesg error is able to reproduce on latest -nightly(a2ca46441decdcdf4010f1db8a7041c8851327b3)n while running tests below

igt/kms_flip/vblank-vs-modeset-suspend
igt/kms_flip/vblank-vs-modeset-suspend-interruptible


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-g137877f (x86_64) (Linux: 3.17.0-rc2_drm-intel-next-queued_a2ca46_20140909+ 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 Wed Sep 17 19:44:24 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Sep 17 19:44:56 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 Wed Sep 17 19:45:28 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Sep 17 19:46:00 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 Wed Sep 17 19:46:30 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Sep 17 19:47:02 2014

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

Subtest vblank-vs-modeset-suspend-interruptible: SUCCESS (10.733s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep "<[1-4]>"|grep drm                  <3>[  655.105654] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  656.892202] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  658.714766] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  660.469291] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  662.486959] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<3>[  664.230482] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
Comment 7 Jani Nikula 2014-09-17 12:41:37 UTC
Please re-run the test with i915.mmio_debug=1 module parameter as advised, and attach the dmesg.
Comment 8 Guo Jinxian 2014-09-18 05:37:01 UTC
Created attachment 106476 [details]
dmesg

(In reply to comment #7)
> Please re-run the test with i915.mmio_debug=1 module parameter as advised,
> and attach the dmesg.

Update test result with "i915.mmio_debug=1".

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest cursor
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 cursor: SUCCESS (8.251s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep "<[1-4]>"|grep drm
<4>[  212.980848] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  212.980851] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.980868] CPU: 0 PID: 4617 Comm: pm_rpm Not tainted 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.980932]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  212.980939]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.980947]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.980953]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.980962]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  212.981010] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  212.981012] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.981026] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.981095]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  212.981103]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.981111]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.981118]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.981128]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  212.981177] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  212.981180] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.981195] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.981272]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  212.981280]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.981288]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.981294]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.981304]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  212.981355] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  212.981357] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.981372] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.981455]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  212.981474]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  212.981488]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.981501]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.981510]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.981524]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  212.981587] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  212.981596] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.981655] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.981772]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  212.981799]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  212.981811]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.981821]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.981830]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.981842]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  212.981903] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  212.981915] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  212.981950] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  212.982052]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  212.982064]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  212.982073]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  212.982083]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  212.982092]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  212.982104]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  214.908623] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  214.908625] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  214.908641] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  214.908699]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  214.908706]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  214.908713]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  214.908719]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  214.908728]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  214.908772] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  214.908774] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  214.908788] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  214.908848]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  214.908854]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  214.908860]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  214.908866]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  214.908873]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  214.908914] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  214.908916] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  214.908930] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  214.908995]  [<ffffffffa0018f2e>] ? __setplane_internal+0x220/0x26f [drm]
<4>[  214.909003]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  214.909011]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  214.909017]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  214.909027]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  218.981226] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  218.981228] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  218.981244] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  218.981302]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  218.981310]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  218.981316]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  218.981324]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  218.981329]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  218.981338]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  218.981382] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  218.981385] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  218.981400] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  218.981477]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  218.981485]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  218.981493]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  218.981501]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  218.981507]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  218.981517]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  218.981565] WARNING: CPU: 0 PID: 4617 at drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.11+0x62/0x72 [i915]()
<4>[  218.981567] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core 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>[  218.981582] CPU: 0 PID: 4617 Comm: pm_rpm Tainted: G        W      3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584
<4>[  218.981658]  [<ffffffffa0018d4f>] ? __setplane_internal+0x41/0x26f [drm]
<4>[  218.981666]  [<ffffffffa0023607>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  218.981674]  [<ffffffffa001911c>] ? drm_mode_cursor_common+0x19f/0x296 [drm]
<4>[  218.981682]  [<ffffffffa001bae4>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  218.981688]  [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  218.981698]  [<ffffffffa001bab3>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
Comment 9 Paulo Zanoni 2014-09-24 19:35:57 UTC
Please retest the bug against the latest -nightly tree.

I believe the problem in your latest log file was fixed by:

commit 9adccc6063d1cf6ba38a5a26b87001554105be18
drm/i915: add SW tracking to FBC enabling
Comment 10 Guo Jinxian 2014-09-25 08:27:43 UTC
(In reply to comment #9)
> Please retest the bug against the latest -nightly tree.
> 
> I believe the problem in your latest log file was fixed by:
> 
> commit 9adccc6063d1cf6ba38a5a26b87001554105be18
> drm/i915: add SW tracking to FBC enabling

Test passes on latest -nightly(0f7cc12c94e3a3033a46ce41bed55e8b6b35561b)

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest cursor
IGT-Version: 1.7-g5f16ef6 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_0f7cc1_20140925+ x86_64)
Runtime PM support: 1
PC8 residency support: 1
Subtest cursor: SUCCESS
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep "<[1-4]>"|grep drm
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
Comment 11 Jari Tahvanainen 2017-07-03 08:51:36 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.