Warning in gpu/drm/i915/intel_display.c

Dmitry Katsubo dma_k at mail.ru
Mon May 2 20:57:45 UTC 2016


Hello everybody,

If somebody can look/dig into the problem, I would be happy to provide
more information and/or do further testing.

On 2016-04-27 23:11, Dmitry Katsubo wrote:
> Dear all,
> 
> I have noticed several warnings in dmesg like below. I wonder if I can
> provide more information. I have looked into the sources
> 
> https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable/+/v4.4.6/drivers/gpu/drm/i915/intel_display.c#12157
> https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable/+/v4.4.6/drivers/gpu/drm/i915/intel_display.c#12734
> 
> but it does not bring me the idea what to do to make it happy. In general
> everything works, but few times I have observed system freeze with some
> pixel trash printed on the screen.
> 
> Thanks for any feedback.
> 
> # dmesg
> [Wed Apr 27 05:37:17 2016] Linux agpgart interface v0.103
> [Wed Apr 27 05:37:17 2016] agpgart-intel 0000:00:00.0: Intel 945GM Chipset
> [Wed Apr 27 05:37:17 2016] agpgart-intel 0000:00:00.0: detected gtt size: 262144K total, 262144K mappable
> [Wed Apr 27 05:37:17 2016] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
> [Wed Apr 27 05:37:17 2016] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
> [[Wed Apr 27 05:37:24 2016] [drm] Initialized drm 1.1.0 20060810
> [Wed Apr 27 05:37:24 2016] intel_rng: FWH not detected
> [Wed Apr 27 05:37:24 2016] [drm] Memory usable by graphics device = 256M
> [Wed Apr 27 05:37:24 2016] checking generic (d0000000 500000) vs hw (d0000000 10000000)
> [Wed Apr 27 05:37:24 2016] fb: switching to inteldrmfb from simple
> [Wed Apr 27 05:37:24 2016] Console: switching to colour dummy device 80x25
> [Wed Apr 27 05:37:24 2016] [drm] Replacing VGA console driver
> [Wed Apr 27 05:37:24 2016] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [Wed Apr 27 05:37:24 2016] [drm] Driver supports precise vblank timestamp query.
> [Wed Apr 27 05:37:24 2016] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> [Wed Apr 27 05:37:24 2016] [drm] initialized overlay support
> [Wed Apr 27 05:37:24 2016] ------------[ cut here ]------------
> [Wed Apr 27 05:37:24 2016] WARNING: CPU: 1 PID: 111 at /build/linux-SBJFwR/linux-4.4.6/debian/build/source_rt/drivers/gpu/drm/i915/intel_display.c:12157 intel_atomic_check+0xb57/0x1010 [i915]()
> [Wed Apr 27 05:37:24 2016] WARN_ON(!connector_state->crtc)
> [Wed Apr 27 05:37:24 2016] Modules linked in:
> [Wed Apr 27 05:37:24 2016]  iTCO_wdt iTCO_vendor_support evdev ppdev coretemp sr9700 ath5k(+) ath pcspkr serio_raw dm9601 usbnet mac80211 mii snd_hda_codec_realtek snd_hda_codec_generic i2c_i801(+) cfg80211 rfkill snd_hda_intel lpc_ich mfd_core snd_hda_codec snd_hda_core sg i915(+) snd_hwdep snd_pcm_oss snd_mixer_oss rng_core snd_pcm snd_timer 8250_fintek snd video soundcore drm_kms_helper drm parport_pc acpi_cpufreq parport i2c_algo_bit shpchp tpm_tis tpm button processor binfmt_misc w83627hf hwmon_vid autofs4 xfs libcrc32c crc32c_generic btrfs xor raid6_pq uas usb_storage sr_mod cdrom sd_mod ata_generic ata_piix libata uhci_hcd ehci_pci firewire_ohci scsi_mod ehci_hcd firewire_core crc_itu_t usbcore usb_common e1000e ptp pps_core
> [Wed Apr 27 05:37:24 2016] CPU: 1 PID: 111 Comm: kworker/u4:3 Not tainted 4.4.0-1-rt-686-pae #1 Debian 4.4.6-1
> [Wed Apr 27 05:37:24 2016] Hardware name: AOpen i945GMx-IF/i945GMx-IF, BIOS i945GMx-IF R1.01 Mar.02.2007 AOpen Inc. 03/02/2007
> [Wed Apr 27 05:37:24 2016] Workqueue: events_unbound async_run_entry_fn
> [Wed Apr 27 05:37:24 2016]  00000286 233d0db0 f6ac7b54 c12d2393 f6ac7b64 f8c134c0 c106e53d f8c216fb
> [Wed Apr 27 05:37:24 2016]  f6ac7b84 0000006f f8c134c0 00002f7d f8bb5387 00000009 f8bb5387 f28eca00
> [Wed Apr 27 05:37:24 2016]  00000000 f30d9800 f6ac7b70 c106e5ae 00000009 f6ac7b64 f8c216fb f6ac7b84
> [Wed Apr 27 05:37:24 2016] Call Trace:
> [Wed Apr 27 05:37:24 2016]  [<c12d2393>] ? dump_stack+0x55/0x72
> [Wed Apr 27 05:37:24 2016]  [<c106e53d>] ? warn_slowpath_common+0x8d/0xc0
> [Wed Apr 27 05:37:24 2016]  [<f8bb5387>] ? intel_atomic_check+0xb57/0x1010 [i915]
> [Wed Apr 27 05:37:24 2016]  [<f8bb5387>] ? intel_atomic_check+0xb57/0x1010 [i915]
> [Wed Apr 27 05:37:24 2016]  [<c106e5ae>] ? warn_slowpath_fmt+0x3e/0x60
> [Wed Apr 27 05:37:24 2016]  [<f8bb5387>] ? intel_atomic_check+0xb57/0x1010 [i915]
> [Wed Apr 27 05:37:24 2016]  [<f8bb4830>] ? intel_link_compute_m_n+0x60/0x60 [i915]
> [Wed Apr 27 05:37:24 2016]  [<f8acf109>] ? drm_atomic_check_only+0x1a9/0x610 [drm]
> [Wed Apr 27 05:37:24 2016]  [<f8ace659>] ? drm_atomic_set_crtc_for_plane+0x69/0x100 [drm]
> [Wed Apr 27 05:37:24 2016]  [<f8acf658>] ? drm_atomic_set_fb_for_plane+0x28/0xa0 [drm]
> [Wed Apr 27 05:37:24 2016]  [<f8acf586>] ? drm_atomic_commit+0x16/0x60 [drm]
> [Wed Apr 27 05:37:24 2016]  [<f8bb8c67>] ? intel_get_load_detect_pipe+0x417/0x5f0 [i915]
> [Wed Apr 27 05:37:24 2016]  [<c11b72cc>] ? ___slab_alloc.constprop.75+0xac/0x6e0
> [Wed Apr 27 05:37:24 2016]  [<f8bf33ca>] ? intel_tv_detect+0x10a/0x620 [i915]
> [Wed Apr 27 05:37:24 2016]  [<c11b5f01>] ? __slab_free+0x2d1/0x3b0
> [Wed Apr 27 05:37:24 2016]  [<f8a82d3b>] ? drm_helper_probe_single_connector_modes_merge_bits+0x20b/0x480 [drm_kms_helper]
> [Wed Apr 27 05:37:24 2016]  [<f8a82fc7>] ? drm_helper_probe_single_connector_modes+0x17/0x20 [drm_kms_helper]
> [Wed Apr 27 05:37:24 2016]  [<f8a8eb6a>] ? drm_fb_helper_initial_config+0x9a/0x400 [drm_kms_helper]
> [Wed Apr 27 05:37:24 2016]  [<c10a94a3>] ? pick_next_task_fair+0x4d3/0x560
> [Wed Apr 27 05:37:24 2016]  [<c108dd0e>] ? async_run_entry_fn+0x4e/0x160
> [Wed Apr 27 05:37:24 2016]  [<c1091cda>] ? preempt_count_add+0x8a/0xb0
> [Wed Apr 27 05:37:24 2016]  [<c106edb3>] ? unpin_current_cpu+0x13/0x70
> [Wed Apr 27 05:37:24 2016]  [<c1086432>] ? process_one_work+0x112/0x410
> [Wed Apr 27 05:37:24 2016]  [<c106ec71>] ? pin_current_cpu+0x71/0x1a0
> [Wed Apr 27 05:37:24 2016]  [<c1086771>] ? worker_thread+0x41/0x490
> [Wed Apr 27 05:37:24 2016]  [<c1086730>] ? process_one_work+0x410/0x410
> [Wed Apr 27 05:37:24 2016]  [<c108b69c>] ? kthread+0x9c/0xb0
> [Wed Apr 27 05:37:24 2016]  [<c1563d49>] ? ret_from_kernel_thread+0x21/0x38
> [Wed Apr 27 05:37:24 2016]  [<c108b600>] ? kthread_worker_fn+0x130/0x130
> [Wed Apr 27 05:37:24 2016] ---[ end trace 0000000000000002 ]---
> [Wed Apr 27 05:37:25 2016] ------------[ cut here ]------------
> [Wed Apr 27 05:37:25 2016] WARNING: CPU: 1 PID: 111 at /build/linux-SBJFwR/linux-4.4.6/debian/build/source_rt/drivers/gpu/drm/i915/intel_display.c:12734 intel_atomic_commit+0xbb8/0x1300 [i915]()
> [Wed Apr 27 05:37:25 2016] encoder's enabled state mismatch (expected 0, found 1)
> [Wed Apr 27 05:37:25 2016] Modules linked in: iTCO_wdt iTCO_vendor_support evdev ppdev coretemp sr9700 ath5k(+) ath pcspkr serio_raw dm9601 usbnet mac80211 mii snd_hda_codec_realtek snd_hda_codec_generic i2c_i801(+) cfg80211 rfkill snd_hda_intel lpc_ich mfd_core snd_hda_codec snd_hda_core sg i915(+) snd_hwdep snd_pcm_oss snd_mixer_oss rng_core snd_pcm snd_timer 8250_fintek snd video soundcore drm_kms_helper drm parport_pc acpi_cpufreq parport i2c_algo_bit shpchp tpm_tis tpm button processor binfmt_misc w83627hf hwmon_vid autofs4 xfs libcrc32c crc32c_generic btrfs xor raid6_pq uas usb_storage sr_mod cdrom sd_mod ata_generic ata_piix libata uhci_hcd ehci_pci firewire_ohci scsi_mod ehci_hcd firewire_core crc_itu_t usbcore usb_common e1000e ptp pps_core
> [Wed Apr 27 05:37:25 2016] CPU: 1 PID: 111 Comm: kworker/u4:3 Tainted: G        W       4.4.0-1-rt-686-pae #1 Debian 4.4.6-1
> [Wed Apr 27 05:37:25 2016] Hardware name: AOpen i945GMx-IF/i945GMx-IF, BIOS i945GMx-IF R1.01 Mar.02.2007 AOpen Inc. 03/02/2007
> [Wed Apr 27 05:37:25 2016] Workqueue: events_unbound async_run_entry_fn
> [Wed Apr 27 05:37:25 2016]  00000286 233d0db0 f6ac7b50 c12d2393 f6ac7b60 f8c134c0 c106e53d f8c1629c
> [Wed Apr 27 05:37:25 2016]  f6ac7b80 0000006f f8c134c0 000031be f8bb3588 00000009 f8bb3588 f6b74248
> [Wed Apr 27 05:37:25 2016]  f30c4400 f6b74254 f6ac7b6c c106e5ae 00000009 f6ac7b60 f8c1629c f6ac7b80
> [Wed Apr 27 05:37:25 2016] Call Trace:
> [Wed Apr 27 05:37:25 2016]  [<c12d2393>] ? dump_stack+0x55/0x72
> [Wed Apr 27 05:37:25 2016]  [<c106e53d>] ? warn_slowpath_common+0x8d/0xc0
> [Wed Apr 27 05:37:25 2016]  [<f8bb3588>] ? intel_atomic_commit+0xbb8/0x1300 [i915]
> [Wed Apr 27 05:37:25 2016]  [<f8bb3588>] ? intel_atomic_commit+0xbb8/0x1300 [i915]
> [Wed Apr 27 05:37:25 2016]  [<c106e5ae>] ? warn_slowpath_fmt+0x3e/0x60
> [Wed Apr 27 05:37:25 2016]  [<f8bb3588>] ? intel_atomic_commit+0xbb8/0x1300 [i915]
> [Wed Apr 27 05:37:25 2016]  [<f8bb4830>] ? intel_link_compute_m_n+0x60/0x60 [i915]
> [Wed Apr 27 05:37:25 2016]  [<f8acf109>] ? drm_atomic_check_only+0x1a9/0x610 [drm]
> [Wed Apr 27 05:37:25 2016]  [<f8ace659>] ? drm_atomic_set_crtc_for_plane+0x69/0x100 [drm]
> [Wed Apr 27 05:37:25 2016]  [<f8acf658>] ? drm_atomic_set_fb_for_plane+0x28/0xa0 [drm]
> [Wed Apr 27 05:37:25 2016]  [<f8acf5a2>] ? drm_atomic_commit+0x32/0x60 [drm]
> [Wed Apr 27 05:37:25 2016]  [<f8bb8c67>] ? intel_get_load_detect_pipe+0x417/0x5f0 [i915]
> [Wed Apr 27 05:37:25 2016]  [<c11b72cc>] ? ___slab_alloc.constprop.75+0xac/0x6e0
> [Wed Apr 27 05:37:25 2016]  [<f8bf33ca>] ? intel_tv_detect+0x10a/0x620 [i915]
> [Wed Apr 27 05:37:25 2016]  [<c11b5f01>] ? __slab_free+0x2d1/0x3b0
> [Wed Apr 27 05:37:25 2016]  [<f8a82d3b>] ? drm_helper_probe_single_connector_modes_merge_bits+0x20b/0x480 [drm_kms_helper]
> [Wed Apr 27 05:37:25 2016]  [<f8a82fc7>] ? drm_helper_probe_single_connector_modes+0x17/0x20 [drm_kms_helper]
> [Wed Apr 27 05:37:25 2016]  [<f8a8eb6a>] ? drm_fb_helper_initial_config+0x9a/0x400 [drm_kms_helper]
> [Wed Apr 27 05:37:25 2016]  [<c10a94a3>] ? pick_next_task_fair+0x4d3/0x560
> [Wed Apr 27 05:37:25 2016]  [<c108dd0e>] ? async_run_entry_fn+0x4e/0x160
> [Wed Apr 27 05:37:25 2016]  [<c1091cda>] ? preempt_count_add+0x8a/0xb0
> [Wed Apr 27 05:37:25 2016]  [<c106edb3>] ? unpin_current_cpu+0x13/0x70
> [Wed Apr 27 05:37:25 2016]  [<c1086432>] ? process_one_work+0x112/0x410
> [Wed Apr 27 05:37:25 2016]  [<c106ec71>] ? pin_current_cpu+0x71/0x1a0
> [Wed Apr 27 05:37:25 2016]  [<c1086771>] ? worker_thread+0x41/0x490
> [Wed Apr 27 05:37:25 2016]  [<c1086730>] ? process_one_work+0x410/0x410
> [Wed Apr 27 05:37:25 2016]  [<c108b69c>] ? kthread+0x9c/0xb0
> [Wed Apr 27 05:37:25 2016]  [<c1563d49>] ? ret_from_kernel_thread+0x21/0x38
> [Wed Apr 27 05:37:25 2016]  [<c108b600>] ? kthread_worker_fn+0x130/0x130
> [Wed Apr 27 05:37:25 2016] ---[ end trace 0000000000000003 ]---
> [Wed Apr 27 05:37:25 2016] fbcon: inteldrmfb (fb0) is primary device
> [Wed Apr 27 05:37:25 2016] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
> 
> # fbset
> mode "1920x1080"
>     geometry 1920 1080 1920 1080 32
>     timings 0 0 0 0 0 0 0
>     accel true
>     rgba 8/16,8/8,8/0,0/0
> endmode
> 
> # lspci
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03) (prog-if 00 [VGA controller])
>         Subsystem: AOPEN Inc. Device [a0a0:0627]
>         Flags: bus master, fast devsel, latency 0, IRQ 16
>         Memory at fde80000 (32-bit, non-prefetchable) [size=512K]
>         I/O ports at ff00 [size=8]
>         Memory at d0000000 (32-bit, prefetchable) [size=256M]
>         Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
>         Expansion ROM at <unassigned> [disabled]
>         Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
>         Capabilities: [d0] Power Management version 2
>         Kernel driver in use: i915
> 
> # uname -a
> Linux home 4.4.0-1-rt-686-pae #1 SMP PREEMPT RT Debian 4.4.6-1 (2016-03-17) i686 GNU/Linux


-- 
With best regards,
Dmitry


More information about the dri-devel mailing list