[Intel-gfx] 4.1->4.2 regression : intel_display.c:12324check_crtc_state warning

Tomas Melin tomas.melin at iki.fi
Tue Sep 8 08:57:16 PDT 2015


Toralf Förster <toralf.foerster <at> gmx.de> writes:
> 
> On 09/02/2015 10:31 PM, Konduru, Chandra wrote:
> > It is due to ips_enabled mismatch in crtc_state. 
> > I can't think how below patch is triggering mismatch in ips_enabled.
> 
> tested it 2 times in a row, the bad commits fails, the commit before works
fine.
> Unfortunately that commit id cannot be reverted on latest git HEAD to test
it at top too.
> 

I experience the same problem after upgrading to kernel v4.2. I get the
errors message three times at boot.

Running on Intel NUC D54250WYB. I did not test the bisected commit, but was
not seeing this with kernel 4.0. 


[ 29.702988] [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled
(expected 1, found 0)
[ 29.702989] ------------[ cut here ]------------
[ 29.703028] WARNING: CPU: 0 PID: 3958 at
drivers/gpu/drm/i915/intel_display.c:12324 check_crtc_state+0xb30/0xbba [i915]()
[ 29.703029] pipe state doesn't match!
[ 29.703127] Modules linked in: parport_pc ppdev lp parport rfcomm bnep
binfmt_misc uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace
fscache sunrpc loop mt2063 drxk dvb_usb_az6007 cypress_firmware dvb_usb_v2
btusb btrtl btbcm btintel bluetooth snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec
snd_hwdep snd_hda_core x86_pkg_temp_thermal coretemp crc32c_intel i915
snd_pcm ghash_clmulni_intel snd_seq snd_seq_device snd_timer i2c_algo_bit
aesni_intel aes_x86_64 glue_helper drm_kms_helper lrw xhci_pci xhci_hcd snd
evdev ablk_helper ehci_pci ehci_hcd usbcore cryptd drm usb_common pcspkr
soundcore i2c_i801 ir_lirc_codec lirc_dev nuvoton_cir video acpi_cpufreq
processor button ext4 crc16 jbd2 mbcache sg sd_mod ahci libahci libata
scsi_mod thermal fan thermal_sys e1000e ptp pps_core
[ 29.703136] CPU: 0 PID: 3958 Comm: Xorg Not tainted 4.2.0 #1
[ 29.703138] Hardware name: /D54250WYB, BIOS
WYLPT10H.86A.0033.2014.1201.0940 12/01/2014
[ 29.703144] 0000000000000009 ffff880210c9b768 ffffffff814eadb5 0000000000000002
[ 29.703150] ffff880210c9b7b8 ffff880210c9b7a8 ffffffff810470e4 ffff880210c9b7b0
[ 29.703155] ffffffffa03e7c59 ffff88003620e000 ffff880212e38000 ffff880212e38880
[ 29.703156] Call Trace:
[ 29.703164] [<ffffffff814eadb5>] dump_stack+0x45/0x57
[ 29.703168] [<ffffffff810470e4>] warn_slowpath_common+0x9c/0xb6
[ 29.703205] [<ffffffffa03e7c59>] ? check_crtc_state+0xb30/0xbba [i915]
[ 29.703209] [<ffffffff81047192>] warn_slowpath_fmt+0x41/0x43
[ 29.703242] [<ffffffffa03e7c59>] check_crtc_state+0xb30/0xbba [i915]
[ 29.703273] [<ffffffffa03f8cae>] intel_modeset_check_state+0x546/0x8e4 [i915]
[ 29.703298] [<ffffffffa03f3c6b>] ? __intel_set_mode+0x90a/0x91c [i915]
[ 29.703322] [<ffffffffa03f9ac3>] intel_crtc_set_config+0x411/0x4e8 [i915]
[ 29.703337] [<ffffffffa01d7faa>] drm_mode_set_config_internal+0x58/0xf4 [drm]
[ 29.703345] [<ffffffffa02c2b06>] drm_fb_helper_pan_display+0x7f/0xc7
[drm_kms_helper]
[ 29.703349] [<ffffffff81288e32>] ? lock_fb_info+0x18/0x37
[ 29.703373] [<ffffffffa0405ac4>] intel_fbdev_pan_display+0x15/0x59 [i915]
[ 29.703375] [<ffffffff81288d8a>] fb_pan_display+0xe8/0x12c
[ 29.703377] [<ffffffff812899ce>] do_fb_ioctl+0x29c/0x48d
[ 29.703380] [<ffffffff8128a08c>] fb_ioctl+0x28/0x33
[ 29.703382] [<ffffffff81152858>] do_vfs_ioctl+0x4f3/0x53b
[ 29.703385] [<ffffffff811449e5>] ? fput+0x12/0x87
[ 29.703387] [<ffffffff8115b256>] ? __fget_light+0x4b/0x77
[ 29.703389] [<ffffffff811528ee>] SyS_ioctl+0x4e/0x7c
[ 29.703392] [<ffffffff8107a872>] ? up+0x34/0x39
[ 29.703395] [<ffffffff814f2557>] entry_SYSCALL_64_fastpath+0x12/0x6f
[ 29.703396] ---[ end trace c775210b8359f44a ]---



More information about the Intel-gfx mailing list