[Bug 92465] New: [SKL] WARNING: CPU: 7 PID: 1724 at drivers/gpu/drm/i915/intel_csr.c:481 assert_csr_loaded+0x9c/0x140 [i915] when waking display after long idle period

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 14 17:11:32 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92465

            Bug ID: 92465
           Summary: [SKL] WARNING: CPU: 7 PID: 1724 at
                    drivers/gpu/drm/i915/intel_csr.c:481
                    assert_csr_loaded+0x9c/0x140 [i915] when waking
                    display after long idle period
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: joe.yasi at gmail.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 118879
  --> https://bugs.freedesktop.org/attachment.cgi?id=118879&action=edit
dmesg log

System Environment:
Motherboard: Asus Z170-DELUXE
CPU: Intel i7-6700K
BIOS: 1001
Kernel: drm-intel-nightly: 2015y-10m-13d-15h-47m-52s UTC integration manifest

The monitor is connected via a HDMI-to-DVI cable to the HDMI 2.0 port on the
motherboard. HDMI 2.0 is provided by the motherboard with an on board DP to
HDMI 2.0 adapter.

When waking the display after a several hour idle period, I get a warning in
dmesg (full log attached). The display had been powered off for several hours
and was turned back on just before the warning.

The SKL DMC firmware is installed from linux-firmware git:
$ ls -l /lib/firmware/i915/skl_dmc_ver1*
-rw-r--r-- 1 root root 8824 Sep  5 02:25 /lib/firmware/i915/skl_dmc_ver1_21.bin
-rw-r--r-- 1 root root 8824 Sep 25 23:38 /lib/firmware/i915/skl_dmc_ver1_22.bin
lrwxrwxrwx 1 root root   19 Sep 25 23:38 /lib/firmware/i915/skl_dmc_ver1.bin ->
skl_dmc_ver1_22.bin

md5sum /lib/firmware/i915/skl_dmc_ver1*
669e7884ab990c2e54012902434953f1  /lib/firmware/i915/skl_dmc_ver1_21.bin
ebb428183e615e8db5d32451e35a4499  /lib/firmware/i915/skl_dmc_ver1_22.bin
ebb428183e615e8db5d32451e35a4499  /lib/firmware/i915/skl_dmc_ver1.bin

[67331.614509] ------------[ cut here ]------------
[67331.614548] WARNING: CPU: 7 PID: 1724 at
drivers/gpu/drm/i915/intel_csr.c:481 assert_csr_loaded+0x9c/0x140 [i915]()
[67331.614551] CSR is not loaded.
[67331.614554] Modules linked in: nfsv3 nfs fscache ip6table_filter ip6_tables
iptable_filter ip_tables x_tables rfcomm tun bnep pci_stub vboxpci(O)
vboxnetadp(O) vboxnetflt(O) binfmt_misc uvcvideo btusb videobuf2_vmalloc
videobuf2_core btrtl videobuf2_memops btbcm v4l2_common btintel videodev
bluetooth snd_usb_audio media vboxdrv(O) snd_usbmidi_lib input_leds hid_generic
usbhid uas usb_storage vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core
snd_pcm_oss snd_mixer_oss mxm_wmi wl(PO) snd_pcm intel_rapl snd_seq_oss
iosf_mbi snd_seq_midi snd_rawmidi x86_pkg_temp_thermal intel_powerclamp
snd_seq_midi_event snd_seq crct10dif_pclmul snd_seq_device crc32_pclmul
snd_timer aesni_intel aes_x86_64 snd cfg80211 lrw glue_helper soundcore
ablk_helper
[67331.614634]  tpm_tis rfkill cryptd efivars tpm battery xhci_pci xhci_hcd
intel_lpss_acpi intel_lpss usbcore mfd_core usb_common acpi_als acpi_pad wmi
processor kfifo_buf industrialio coretemp loop fuse nfsd auth_rpcgss
oid_registry nfs_acl lockd grace sunrpc efivarfs ipv6 bcache igb crc32c_intel
hwmon e1000e psmouse dca ptp pps_core i915 intel_gtt i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sr_mod sysimgblt cdrom fb_sys_fops sg
drm i2c_core fan thermal video button
[67331.614696] CPU: 7 PID: 1724 Comm: Xorg Tainted: P           O   
4.3.0-rc5+git20151013-customskl-drmnightly #1
[67331.614700] Hardware name: System manufacturer System Product
Name/Z170-DELUXE, BIOS 1003 09/22/2015
[67331.614703]  ffffffffc01cc870 ffffffff8131ec0e ffff88044f5fbb10
ffffffff81047407
[67331.614710]  ffff88045e610000 ffff88044f5fbb60 0000000000000000
0000000030000003
[67331.614715]  0000000000000001 ffffffff81047487 ffffffffc01dd1f8
ffff880400000018
[67331.614721] Call Trace:
[67331.614732]  [<ffffffff8131ec0e>] ? dump_stack+0x47/0x69
[67331.614774]  [<ffffffff81047407>] ? warn_slowpath_common+0x77/0xb0
[67331.614780]  [<ffffffff81047487>] ? warn_slowpath_fmt+0x47/0x50
[67331.614808]  [<ffffffffc011407c>] ? assert_csr_loaded+0x9c/0x140 [i915]
[67331.614841]  [<ffffffffc0122a3e>] ? skl_set_power_well+0x7ae/0xaf0 [i915]
[67331.614884]  [<ffffffffc0122fd7>] ? intel_display_power_get+0x97/0xe0 [i915]
[67331.614927]  [<ffffffffc0172e3b>] ?
modeset_get_crtc_power_domains+0x10b/0x170 [i915]
[67331.614963]  [<ffffffffc0173af2>] ? intel_atomic_commit+0xc52/0x1290 [i915]
[67331.614990]  [<ffffffffc00d95bf>] ?
drm_atomic_helper_check_planes+0x12f/0x1a0 [drm_kms_helper]
[67331.615003]  [<ffffffffc00db33d>] ? drm_atomic_helper_set_config+0x6d/0xa0
[drm_kms_helper]
[67331.615025]  [<ffffffffc00679b9>] ? drm_mode_set_config_internal+0x59/0xf0
[drm]
[67331.615047]  [<ffffffffc006b84f>] ? drm_mode_setcrtc+0x17f/0x4d0 [drm]
[67331.615068]  [<ffffffffc005ea31>] ? drm_ioctl+0x121/0x490 [drm]
[67331.615097]  [<ffffffffc006b6d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[67331.615108]  [<ffffffff81095491>] ? hrtimer_start_range_ns+0x191/0x300
[67331.615116]  [<ffffffff81141b2e>] ? do_vfs_ioctl+0x2be/0x490
[67331.615123]  [<ffffffff81050ba2>] ? recalc_sigpending+0x12/0x50
[67331.615130]  [<ffffffff810514c8>] ? __set_task_blocked+0x28/0x70
[67331.615135]  [<ffffffff8114ab7b>] ? __fget+0x6b/0xb0
[67331.615141]  [<ffffffff81141d71>] ? SyS_ioctl+0x71/0x80
[67331.615151]  [<ffffffff8158be9b>] ? entry_SYSCALL_64_fastpath+0x16/0x6e
[67331.615156] ---[ end trace c87c9af3b25b49d8 ]---
[67331.615162] ------------[ cut here ]------------
[67331.615186] WARNING: CPU: 7 PID: 1724 at
drivers/gpu/drm/i915/intel_csr.c:484 assert_csr_loaded+0xf7/0x140 [i915]()
[67331.615189] CSR SSP Base Not fine
[67331.615192] Modules linked in: nfsv3 nfs fscache ip6table_filter ip6_tables
iptable_filter ip_tables x_tables rfcomm tun bnep pci_stub vboxpci(O)
vboxnetadp(O) vboxnetflt(O) binfmt_misc uvcvideo btusb videobuf2_vmalloc
videobuf2_core btrtl videobuf2_memops btbcm v4l2_common btintel videodev
bluetooth snd_usb_audio media vboxdrv(O) snd_usbmidi_lib input_leds hid_generic
usbhid uas usb_storage vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core
snd_pcm_oss snd_mixer_oss mxm_wmi wl(PO) snd_pcm intel_rapl snd_seq_oss
iosf_mbi snd_seq_midi snd_rawmidi x86_pkg_temp_thermal intel_powerclamp
snd_seq_midi_event snd_seq crct10dif_pclmul snd_seq_device crc32_pclmul
snd_timer aesni_intel aes_x86_64 snd cfg80211 lrw glue_helper soundcore
ablk_helper
[67331.615292]  tpm_tis rfkill cryptd efivars tpm battery xhci_pci xhci_hcd
intel_lpss_acpi intel_lpss usbcore mfd_core usb_common acpi_als acpi_pad wmi
processor kfifo_buf industrialio coretemp loop fuse nfsd auth_rpcgss
oid_registry nfs_acl lockd grace sunrpc efivarfs ipv6 bcache igb crc32c_intel
hwmon e1000e psmouse dca ptp pps_core i915 intel_gtt i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sr_mod sysimgblt cdrom fb_sys_fops sg
drm i2c_core fan thermal video button
[67331.615372] CPU: 7 PID: 1724 Comm: Xorg Tainted: P        W  O   
4.3.0-rc5+git20151013-customskl-drmnightly #1
[67331.615377] Hardware name: System manufacturer System Product
Name/Z170-DELUXE, BIOS 1003 09/22/2015
[67331.615381]  ffffffffc01cc870 ffffffff8131ec0e ffff88044f5fbb10
ffffffff81047407
[67331.615388]  ffff88045e610000 ffff88044f5fbb60 0000000000000000
0000000030000003
[67331.615396]  0000000000000001 ffffffff81047487 ffffffffc01dd20c
0000000000000018
[67331.615404] Call Trace:
[67331.615414]  [<ffffffff8131ec0e>] ? dump_stack+0x47/0x69
[67331.615421]  [<ffffffff81047407>] ? warn_slowpath_common+0x77/0xb0
[67331.615427]  [<ffffffff81047487>] ? warn_slowpath_fmt+0x47/0x50
[67331.615449]  [<ffffffffc01140d7>] ? assert_csr_loaded+0xf7/0x140 [i915]
[67331.615472]  [<ffffffffc0122a3e>] ? skl_set_power_well+0x7ae/0xaf0 [i915]
[67331.615497]  [<ffffffffc0122fd7>] ? intel_display_power_get+0x97/0xe0 [i915]
[67331.615529]  [<ffffffffc0172e3b>] ?
modeset_get_crtc_power_domains+0x10b/0x170 [i915]
[67331.615560]  [<ffffffffc0173af2>] ? intel_atomic_commit+0xc52/0x1290 [i915]
[67331.615571]  [<ffffffffc00d95bf>] ?
drm_atomic_helper_check_planes+0x12f/0x1a0 [drm_kms_helper]
[67331.615582]  [<ffffffffc00db33d>] ? drm_atomic_helper_set_config+0x6d/0xa0
[drm_kms_helper]
[67331.615601]  [<ffffffffc00679b9>] ? drm_mode_set_config_internal+0x59/0xf0
[drm]
[67331.615620]  [<ffffffffc006b84f>] ? drm_mode_setcrtc+0x17f/0x4d0 [drm]
[67331.615635]  [<ffffffffc005ea31>] ? drm_ioctl+0x121/0x490 [drm]
[67331.615651]  [<ffffffffc006b6d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[67331.615660]  [<ffffffff81095491>] ? hrtimer_start_range_ns+0x191/0x300
[67331.615667]  [<ffffffff81141b2e>] ? do_vfs_ioctl+0x2be/0x490
[67331.615673]  [<ffffffff81050ba2>] ? recalc_sigpending+0x12/0x50
[67331.615680]  [<ffffffff810514c8>] ? __set_task_blocked+0x28/0x70
[67331.615685]  [<ffffffff8114ab7b>] ? __fget+0x6b/0xb0
[67331.615692]  [<ffffffff81141d71>] ? SyS_ioctl+0x71/0x80
[67331.615700]  [<ffffffff8158be9b>] ? entry_SYSCALL_64_fastpath+0x16/0x6e
[67331.615705] ---[ end trace c87c9af3b25b49d9 ]---
[67331.615709] ------------[ cut here ]------------
[67331.615732] WARNING: CPU: 7 PID: 1724 at
drivers/gpu/drm/i915/intel_csr.c:485 assert_csr_loaded+0x128/0x140 [i915]()
[67331.615748] CSR HTP Not fine
[67331.615751] Modules linked in: nfsv3 nfs fscache ip6table_filter ip6_tables
iptable_filter ip_tables x_tables rfcomm tun bnep pci_stub vboxpci(O)
vboxnetadp(O) vboxnetflt(O) binfmt_misc uvcvideo btusb videobuf2_vmalloc
videobuf2_core btrtl videobuf2_memops btbcm v4l2_common btintel videodev
bluetooth snd_usb_audio media vboxdrv(O) snd_usbmidi_lib input_leds hid_generic
usbhid uas usb_storage vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core
snd_pcm_oss snd_mixer_oss mxm_wmi wl(PO) snd_pcm intel_rapl snd_seq_oss
iosf_mbi snd_seq_midi snd_rawmidi x86_pkg_temp_thermal intel_powerclamp
snd_seq_midi_event snd_seq crct10dif_pclmul snd_seq_device crc32_pclmul
snd_timer aesni_intel aes_x86_64 snd cfg80211 lrw glue_helper soundcore
ablk_helper
[67331.615948]  tpm_tis rfkill cryptd efivars tpm battery xhci_pci xhci_hcd
intel_lpss_acpi intel_lpss usbcore mfd_core usb_common acpi_als acpi_pad wmi
processor kfifo_buf industrialio coretemp loop fuse nfsd auth_rpcgss
oid_registry nfs_acl lockd grace sunrpc efivarfs ipv6 bcache igb crc32c_intel
hwmon e1000e psmouse dca ptp pps_core i915 intel_gtt i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sr_mod sysimgblt cdrom fb_sys_fops sg
drm i2c_core fan thermal video button
[67331.616031] CPU: 7 PID: 1724 Comm: Xorg Tainted: P        W  O   
4.3.0-rc5+git20151013-customskl-drmnightly #1
[67331.616035] Hardware name: System manufacturer System Product
Name/Z170-DELUXE, BIOS 1003 09/22/2015
[67331.616038]  ffffffffc01cc870 ffffffff8131ec0e ffff88044f5fbb10
ffffffff81047407
[67331.616046]  ffff88045e610000 ffff88044f5fbb60 0000000000000000
0000000030000003
[67331.616053]  0000000000000001 ffffffff81047487 ffffffffc01dd223
0000000000000018
[67331.616061] Call Trace:
[67331.616070]  [<ffffffff8131ec0e>] ? dump_stack+0x47/0x69
[67331.616076]  [<ffffffff81047407>] ? warn_slowpath_common+0x77/0xb0
[67331.616083]  [<ffffffff81047487>] ? warn_slowpath_fmt+0x47/0x50
[67331.616105]  [<ffffffffc0114108>] ? assert_csr_loaded+0x128/0x140 [i915]
[67331.616129]  [<ffffffffc0122a3e>] ? skl_set_power_well+0x7ae/0xaf0 [i915]
[67331.616152]  [<ffffffffc0122fd7>] ? intel_display_power_get+0x97/0xe0 [i915]
[67331.616183]  [<ffffffffc0172e3b>] ?
modeset_get_crtc_power_domains+0x10b/0x170 [i915]
[67331.616213]  [<ffffffffc0173af2>] ? intel_atomic_commit+0xc52/0x1290 [i915]
[67331.616224]  [<ffffffffc00d95bf>] ?
drm_atomic_helper_check_planes+0x12f/0x1a0 [drm_kms_helper]
[67331.616236]  [<ffffffffc00db33d>] ? drm_atomic_helper_set_config+0x6d/0xa0
[drm_kms_helper]
[67331.616254]  [<ffffffffc00679b9>] ? drm_mode_set_config_internal+0x59/0xf0
[drm]
[67331.616272]  [<ffffffffc006b84f>] ? drm_mode_setcrtc+0x17f/0x4d0 [drm]
[67331.616287]  [<ffffffffc005ea31>] ? drm_ioctl+0x121/0x490 [drm]
[67331.616302]  [<ffffffffc006b6d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[67331.616312]  [<ffffffff81095491>] ? hrtimer_start_range_ns+0x191/0x300
[67331.616319]  [<ffffffff81141b2e>] ? do_vfs_ioctl+0x2be/0x490
[67331.616325]  [<ffffffff81050ba2>] ? recalc_sigpending+0x12/0x50
[67331.616331]  [<ffffffff810514c8>] ? __set_task_blocked+0x28/0x70
[67331.616337]  [<ffffffff8114ab7b>] ? __fget+0x6b/0xb0
[67331.616343]  [<ffffffff81141d71>] ? SyS_ioctl+0x71/0x80
[67331.616352]  [<ffffffff8158be9b>] ? entry_SYSCALL_64_fastpath+0x16/0x6e
[67331.616356] ---[ end trace c87c9af3b25b49da ]---
[67331.616361] ------------[ cut here ]------------
[67331.616385] WARNING: CPU: 7 PID: 1724 at
drivers/gpu/drm/i915/intel_runtime_pm.c:551 skl_set_power_well+0x7fa/0xaf0
[i915]()
[67331.616388] DC6 already programmed to be disabled.
[67331.616391] Modules linked in: nfsv3 nfs fscache ip6table_filter ip6_tables
iptable_filter ip_tables x_tables rfcomm tun bnep pci_stub vboxpci(O)
vboxnetadp(O) vboxnetflt(O) binfmt_misc uvcvideo btusb videobuf2_vmalloc
videobuf2_core btrtl videobuf2_memops btbcm v4l2_common btintel videodev
bluetooth snd_usb_audio media vboxdrv(O) snd_usbmidi_lib input_leds hid_generic
usbhid uas usb_storage vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core
snd_pcm_oss snd_mixer_oss mxm_wmi wl(PO) snd_pcm intel_rapl snd_seq_oss
iosf_mbi snd_seq_midi snd_rawmidi x86_pkg_temp_thermal intel_powerclamp
snd_seq_midi_event snd_seq crct10dif_pclmul snd_seq_device crc32_pclmul
snd_timer aesni_intel aes_x86_64 snd cfg80211 lrw glue_helper soundcore
ablk_helper
[67331.616486]  tpm_tis rfkill cryptd efivars tpm battery xhci_pci xhci_hcd
intel_lpss_acpi intel_lpss usbcore mfd_core usb_common acpi_als acpi_pad wmi
processor kfifo_buf industrialio coretemp loop fuse nfsd auth_rpcgss
oid_registry nfs_acl lockd grace sunrpc efivarfs ipv6 bcache igb crc32c_intel
hwmon e1000e psmouse dca ptp pps_core i915 intel_gtt i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sr_mod sysimgblt cdrom fb_sys_fops sg
drm i2c_core fan thermal video button
[67331.616563] CPU: 7 PID: 1724 Comm: Xorg Tainted: P        W  O   
4.3.0-rc5+git20151013-customskl-drmnightly #1
[67331.616567] Hardware name: System manufacturer System Product
Name/Z170-DELUXE, BIOS 1003 09/22/2015
[67331.616570]  ffffffffc01cd4e0 ffffffff8131ec0e ffff88044f5fbb30
ffffffff81047407
[67331.616577]  ffff88045e610000 ffff88044f5fbb80 ffffffffc01e7850
0000000030000003
[67331.616585]  0000000000000001 ffffffff81047487 ffffffffc01cd930
0000000000000018
[67331.616592] Call Trace:
[67331.616601]  [<ffffffff8131ec0e>] ? dump_stack+0x47/0x69
[67331.616608]  [<ffffffff81047407>] ? warn_slowpath_common+0x77/0xb0
[67331.616615]  [<ffffffff81047487>] ? warn_slowpath_fmt+0x47/0x50
[67331.616637]  [<ffffffffc0122a8a>] ? skl_set_power_well+0x7fa/0xaf0 [i915]
[67331.616661]  [<ffffffffc0122fd7>] ? intel_display_power_get+0x97/0xe0 [i915]
[67331.616691]  [<ffffffffc0172e3b>] ?
modeset_get_crtc_power_domains+0x10b/0x170 [i915]
[67331.616720]  [<ffffffffc0173af2>] ? intel_atomic_commit+0xc52/0x1290 [i915]
[67331.616731]  [<ffffffffc00d95bf>] ?
drm_atomic_helper_check_planes+0x12f/0x1a0 [drm_kms_helper]
[67331.616755]  [<ffffffffc00db33d>] ? drm_atomic_helper_set_config+0x6d/0xa0
[drm_kms_helper]
[67331.616774]  [<ffffffffc00679b9>] ? drm_mode_set_config_internal+0x59/0xf0
[drm]
[67331.616800]  [<ffffffffc006b84f>] ? drm_mode_setcrtc+0x17f/0x4d0 [drm]
[67331.616822]  [<ffffffffc005ea31>] ? drm_ioctl+0x121/0x490 [drm]
[67331.616844]  [<ffffffffc006b6d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[67331.616859]  [<ffffffff81095491>] ? hrtimer_start_range_ns+0x191/0x300
[67331.616872]  [<ffffffff81141b2e>] ? do_vfs_ioctl+0x2be/0x490
[67331.616884]  [<ffffffff81050ba2>] ? recalc_sigpending+0x12/0x50
[67331.616896]  [<ffffffff810514c8>] ? __set_task_blocked+0x28/0x70
[67331.616909]  [<ffffffff8114ab7b>] ? __fget+0x6b/0xb0
[67331.616922]  [<ffffffff81141d71>] ? SyS_ioctl+0x71/0x80
[67331.616938]  [<ffffffff8158be9b>] ? entry_SYSCALL_64_fastpath+0x16/0x6e
[67331.616947] ---[ end trace c87c9af3b25b49db ]---

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20151015/09de828f/attachment-0001.html>


More information about the intel-gfx-bugs mailing list