Bug 82603 - [SNB/HSW/BDW]igt/pm_rpm some subcases cause "WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/i915_gem_gtt.c:1486 gen6_ggtt_insert_entries+0xc9/0xee [i915]()"
Summary: [SNB/HSW/BDW]igt/pm_rpm some subcases cause "WARNING: CPU: 0 PID: 3911 at dri...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Paulo Zanoni
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-14 08:26 UTC by Guo Jinxian
Modified: 2017-10-06 14:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (118.67 KB, text/plain)
2014-08-14 08:26 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-08-14 08:26:48 UTC
Created attachment 104608 [details]
dmesg

==System Environment==
--------------------------
Regression: No.
It's new cases.

Non-working platforms: SNB/HSW

==kernel==
--------------------------
origin/drm-intel-nightly: da31e7c60be217316278a055dd3f91c33913270f(fails)
    drm-intel-nightly: 2014y-08m-13d-17h-12m-37s integration manifest
origin/drm-intel-next-queued: 82e3b8c130f046b7dd1e7898c10e40edb52fee6d(fails)
    drm/i915: Localise the fbdev console lock frobbing  
origin/drm-intel-fixes: 7613ec9e6b40b1651d0b8d4af85517ae81110900(fails)
    drm/i915: Skip load detect when intel_crtc->new_enable==true


==Bug detailed description==
-----------------------------
igt/pm_rpm some subcases cause "WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/i915_gem_gtt.c:1486 gen6_ggtt_insert_entries+0xc9/0xee [i915]()"

Case list:
igt/pm_rpm/cursor
igt/pm_rpm/cursor-dpms
igt/pm_rpm/legacy-planes
igt/pm_rpm/legacy-planes-dpms
igt/pm_rpm/universal-planes
igt/pm_rpm/universal-planes-dpms

Output:
[root@x-sgb4 tests]# ./pm_rpm --run-subtest cursor
IGT-Version: 1.7-g5c7bcb1 (i686) (Linux: 3.16.0_drm-intel-nightly_da31e7_20140814+ i686)
Runtime PM support: 1
PC8 residency support: 0
Subtest cursor: SUCCESS
[root@x-sgb4 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/i915_gem_gtt.c:1486 gen6_ggtt_insert_entries+0xc9/0xee [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Not tainted 3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/i915_gem_gtt.c:1486 gen6_ggtt_insert_entries+0xc9/0xee [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]
<4>[    0.000000] WARNING: CPU: 0 PID: 3911 at drivers/gpu/drm/i915/intel_uncore.c:47 assert_device_not_suspended+0x39/0x3d [i915]()
<4>[    0.000000] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
<4>[    0.000000] CPU: 0 PID: 3911 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_da31e7_20140814+ #1394
<4>[    0.000000]  [<f809b170>] ? setplane_internal+0x1bf/0x207 [drm]
<4>[    0.000000]  [<f809b34b>] ? drm_mode_cursor_common+0x193/0x276 [drm]
<4>[    0.000000]  [<f809d761>] ? drm_mode_cursor_ioctl+0x2c/0x33 [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093dda>] ? drm_ioctl+0x233/0x35c [drm]
<4>[    0.000000]  [<f809d735>] ? drm_mode_setcrtc+0x405/0x405 [drm]
<4>[    0.000000]  [<f8093ba7>] ? drm_getstats+0xe/0xe [drm]

Reproduce steps:
-------------------------
1. ./pm_rpm --run-subtest cursor
Comment 1 Paulo Zanoni 2014-08-14 20:07:08 UTC
I expect this patch will fix these issues:

http://patchwork.freedesktop.org/patch/31768/
Comment 2 Guo Jinxian 2014-08-15 06:03:04 UTC
This bug is able to reproduce on latest -nightly(2b6e6b9c29dbdaf596cad99877384af8b406d103) on BDW

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm --run-subtest cursor
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_drm-intel-nightly_2b6e6b_20140815+ 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>[  243.973558] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/i915_gem_gtt.c:1443 gen8_ggtt_insert_entries+0xd6/0x10d [i915]()
<4>[  243.973559] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.973576] CPU: 1 PID: 4389 Comm: pm_rpm Not tainted 3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.973672]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.973679]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.973685]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.973692]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.973698]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.973707]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  243.973753] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  243.973755] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.973769] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.973872]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.973879]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.973885]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.973892]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.973898]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.973906]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  243.973935] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  243.973947] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()
<4>[  243.973969] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.974006] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.974138]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.974157]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.974176]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.974195]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.974216]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.974231]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  243.974309] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/i915_gem_gtt.c:1443 gen8_ggtt_insert_entries+0xd6/0x10d [i915]()
<4>[  243.974310] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.974325] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.974474]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.974482]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.974490]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.974498]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.974504]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.974528]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  243.974582] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  243.974593] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.974609] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.974748]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.974755]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.974763]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.974771]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.974777]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.974788]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  243.974820] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  243.974833] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()
<4>[  243.974839] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.974854] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.974985]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.975004]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.975024]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.975043]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.975060]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.975071]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  243.975581] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  243.975587] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.975602] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.975650]  [<ffffffffa000e463>] ? drm_clflush_page+0x41/0x53 [drm]
<4>[  243.975711]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.975724]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.975732]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.975740]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.975746]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.975756]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  243.975789] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  243.975802] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()
<4>[  243.975804] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.975819] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.975871]  [<ffffffffa000e463>] ? drm_clflush_page+0x41/0x53 [drm]
<4>[  243.975932]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.975940]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.975947]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.975958]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.975982]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.976017]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[  243.976083] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen8_write32+0x70/0x11a [i915]()
<4>[  243.976089] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.976104] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.976153]  [<ffffffffa000e463>] ? drm_clflush_page+0x41/0x53 [drm]
<4>[  243.976278]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.976288]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.976296]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.976303]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.976310]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.976320]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<3>[  243.976355] [drm:hsw_unclaimed_reg_detect] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this problem.
<4>[  243.976368] WARNING: CPU: 1 PID: 4389 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_read32+0x26/0x101 [i915]()
<4>[  243.976370] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  243.976386] CPU: 1 PID: 4389 Comm: pm_rpm Tainted: G        W     3.16.0_drm-intel-nightly_2b6e6b_20140815+ #1436
<4>[  243.976474]  [<ffffffffa000e463>] ? drm_clflush_page+0x41/0x53 [drm]
<4>[  243.976539]  [<ffffffffa00238e3>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[  243.976547]  [<ffffffffa0019116>] ? setplane_internal+0x262/0x2bc [drm]
<4>[  243.976555]  [<ffffffffa001930b>] ? drm_mode_cursor_common+0x19b/0x27d [drm]
<4>[  243.976562]  [<ffffffffa001bc7c>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[  243.976580]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  243.976596]  [<ffffffffa001bc4b>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
Comment 3 Jani Nikula 2014-08-26 12:20:19 UTC
commit d6dd6843ff4a57c662dbc378b9f99a9c034b0956
Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
Date:   Fri Aug 15 15:59:32 2014 -0300

    drm/i915: fix plane/cursor handling when runtime suspended

pushed to drm-intel-fixes
Comment 4 Guo Jinxian 2014-08-27 07:20:58 UTC
Verified on HSW on latest -nightly(c30b73ce7c138b5fd671ed3a7e1301bd273fd661)

[root@x-hsw24 tests]# ./pm_rpm
IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 5, Input/output error
Subtest rte: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 5, Input/output error
Subtest drm-resources-equal: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 5, Input/output error
Subtest pci-d3-state: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-lpsp: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-non-lpsp: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest dpms-lpsp: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest dpms-non-lpsp: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 2, No such file or directory
Subtest gem-mmap-cpu: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 2, No such file or directory
Subtest gem-mmap-gtt: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 2, No such file or directory
Subtest gem-pread: SKIP
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Last errno: 2, No such file or directory
Subtest gem-execbuf: SKIP
Subtest gem-idle: SUCCESS
Test requirement not met in function cursor_subtest, file pm_rpm.c:1427:
Test requirement: default_mode_params
Subtest cursor: SKIP
Test requirement not met in function cursor_subtest, file pm_rpm.c:1427:
Test requirement: default_mode_params
Subtest cursor-dpms: SKIP
Test requirement not met in function test_one_plane, file pm_rpm.c:1546:
Test requirement: default_mode_params
Subtest legacy-planes: SKIP
Test requirement not met in function test_one_plane, file pm_rpm.c:1546:
Test requirement: default_mode_params
Subtest legacy-planes-dpms: SKIP
Test requirement not met in function test_one_plane, file pm_rpm.c:1546:
Test requirement: default_mode_params
Subtest universal-planes: SKIP
Test requirement not met in function test_one_plane, file pm_rpm.c:1546:
Test requirement: default_mode_params
Subtest universal-planes-dpms: SKIP
Subtest reg-read-ioctl: SUCCESS
Test requirement not met in function enable_one_screen, file pm_rpm.c:359:
Test requirement: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Subtest i2c: SKIP
Test requirement not met in function pc8_residency_subtest, file pm_rpm.c:754:
Test requirement: has_pc8
Subtest pc8-residency: SKIP
Subtest debugfs-read: SUCCESS
Subtest debugfs-forcewake-user: SUCCESS
Subtest sysfs-read: SUCCESS
Test requirement not met in function dpms_mode_unset_subtest, file pm_rpm.c:1398:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest dpms-mode-unset-lpsp: SKIP
Test requirement not met in function dpms_mode_unset_subtest, file pm_rpm.c:1398:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest dpms-mode-unset-non-lpsp: SKIP
Test requirement not met in function fences_subtest, file pm_rpm.c:1680:
Test requirement: default_mode_params
Last errno: 2, No such file or directory
Subtest fences: SKIP
Test requirement not met in function fences_subtest, file pm_rpm.c:1680:
Test requirement: default_mode_params
Last errno: 2, No such file or directory
Subtest fences-dpms: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-lpsp-stress: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-non-lpsp-stress: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-lpsp-stress-no-wait: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-non-lpsp-stress-no-wait: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:773:
Test requirement: has_pc8
Last errno: 2, No such file or directory
Subtest modeset-pc8-residency-stress: SKIP
Test requirement not met in function modeset_subtest, file pm_rpm.c:790:
Test requirement: enable_one_screen_with_type(&ms_data, type)
Last errno: 2, No such file or directory
Subtest modeset-stress-extra-wait: SKIP
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Aug 27 06:59:07 2014
Subtest system-suspend: SUCCESS

Subtest gem-execbuf-stress: SUCCESS
Test requirement not met in function gem_execbuf_stress_subtest, file pm_rpm.c:1290:
Test requirement: has_pc8
Subtest gem-execbuf-stress-pc8: SKIP
Subtest gem-execbuf-stress-extra-wait: SUCCESS
[root@x-hsw24 tests]#
[root@x-hsw24 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
Comment 5 Elizabeth 2017-10-06 14:36:44 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.