Bug 93192 - [bdw mst] WARN intel_ddi.c:772 intel_ddi_get_crtc_new_encoder(): 2 encoders on crtc for pipe A
Summary: [bdw mst] WARN intel_ddi.c:772 intel_ddi_get_crtc_new_encoder(): 2 encoders o...
Status: CLOSED DUPLICATE of bug 97551
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 11:08 UTC by Chris Wilson
Modified: 2017-06-30 23:35 UTC (History)
1 user (show)

See Also:
i915 platform: BDW
i915 features: display/atomic, display/DP, display/DP MST


Attachments

Description Chris Wilson 2015-12-01 11:08:01 UTC
[    4.204507] ------------[ cut here ]------------
[    4.204514] WARNING: CPU: 1 PID: 1361 at drivers/gpu/drm/i915/intel_ddi.c:772 intel_ddi_get_crtc_new_encoder+0x8c/0x90()
[    4.204515] 2 encoders on crtc for pipe A
[    4.204516] Modules linked in: arc4 iwlmvm mac80211 snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_pcm snd_hwdep snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp snd_rawmidi kvm_intel cmac kvm iwlwifi snd_seq irqbypass dm_multipath crct10dif_pclmul btusb crc32_pclmul cfg80211 snd_timer btrtl snd_seq_device btbcm mei_me btintel mei rfcomm aesni_intel bnep bluetooth snd aes_x86_64 glue_helper lrw gf128mul shpchp ablk_helper lpc_ich cryptd serio_raw nuvoton_cir soundcore rc_core binfmt_misc i2c_hid dw_dmac hid dw_dmac_core i2c_designware_platform spi_pxa2xx_platform 8250_dw i2c_designware_core parport_pc nls_iso8859_1 acpi_pad mac_hid ppdev lp parport dm_mirror dm_region_hash dm_log usb_storage e1000e psmouse ptp ahci libahci pps_core sdhci_acpi sdhci
[    4.204554] CPU: 1 PID: 1361 Comm: Xorg Not tainted 4.4.0-rc3+ #75
[    4.204555] Hardware name: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/NUC5i5RYB, BIOS RYBDWi35.86A.0137.2015.0107.1700 01/07/2015
[    4.204556]  ffffffff81d43550 ffff88040b1ef938 ffffffff813937ad ffff88040b1ef980
[    4.204558]  ffff88040b1ef970 ffffffff81076196 ffff88040a141f00 ffff880409383c00
[    4.204559]  ffff88040b6ca400 ffff88040c2ca800 ffff88040a141f00 ffff88040b1ef9d0
[    4.204561] Call Trace:
[    4.204565]  [<ffffffff813937ad>] dump_stack+0x44/0x57
[    4.204568]  [<ffffffff81076196>] warn_slowpath_common+0x86/0xc0
[    4.204569]  [<ffffffff8107621c>] warn_slowpath_fmt+0x4c/0x50
[    4.204571]  [<ffffffff8158277c>] intel_ddi_get_crtc_new_encoder+0x8c/0x90
[    4.204573]  [<ffffffff81582dc5>] intel_ddi_pll_select+0x35/0x1460
[    4.204576]  [<ffffffff8182456a>] ? __ww_mutex_lock_slowpath+0x16e/0x184
[    4.204578]  [<ffffffff8156cf5d>] ? intel_plane_atomic_calc_changes+0x4d/0x790
[    4.204580]  [<ffffffff814e88cf>] ? drm_rect_clip_scaled+0x10f/0x120
[    4.204583]  [<ffffffff814c35e8>] ? drm_plane_helper_check_update+0xa8/0x1e0
[    4.204585]  [<ffffffff815565c2>] haswell_crtc_compute_clock+0x12/0x30
[    4.204587]  [<ffffffff81562a55>] intel_crtc_atomic_check+0x195/0x220
[    4.204589]  [<ffffffff814c9e71>] drm_atomic_helper_check_planes+0x121/0x1d0
[    4.204590]  [<ffffffff81566586>] intel_atomic_check+0x2d6/0x2040
[    4.204593]  [<ffffffff811c73cb>] ? kmem_cache_alloc_trace+0x17b/0x1e0
[    4.204595]  [<ffffffff814c9923>] ? drm_atomic_helper_connector_duplicate_state+0x33/0x80
[    4.204596]  [<ffffffff814ea001>] ? drm_atomic_get_crtc_state+0x11/0xd0
[    4.204598]  [<ffffffff814ead28>] drm_atomic_check_only+0x158/0x580
[    4.204600]  [<ffffffff814ea520>] ? drm_atomic_set_crtc_for_connector+0x20/0x90
[    4.204601]  [<ffffffff814eb167>] drm_atomic_commit+0x17/0x60
[    4.204603]  [<ffffffff814cbce7>] drm_atomic_helper_set_config+0x77/0xb0
[    4.204605]  [<ffffffff814da974>] drm_mode_set_config_internal+0x64/0x100
[    4.204607]  [<ffffffff814de8bd>] drm_mode_setcrtc+0xdd/0x4f0
[    4.204609]  [<ffffffff814d0f4b>] drm_ioctl+0x23b/0x4d0
[    4.204611]  [<ffffffff810686d3>] ? pte_alloc_one+0x33/0x40
[    4.204613]  [<ffffffff814de7e0>] ? drm_mode_setplane+0x1c0/0x1c0
[    4.204615]  [<ffffffff811f955d>] do_vfs_ioctl+0x2cd/0x4b0
[    4.204617]  [<ffffffff810826b2>] ? __set_task_blocked+0x32/0x70
[    4.204618]  [<ffffffff81084d06>] ? __set_current_blocked+0x36/0x60
[    4.204620]  [<ffffffff811f97b9>] SyS_ioctl+0x79/0x90
[    4.204621]  [<ffffffff81084f76>] ? SyS_rt_sigprocmask+0x86/0xb0
[    4.204623]  [<ffffffff81826976>] entry_SYSCALL_64_fastpath+0x16/0x75
[    4.204624] ---[ end trace 7f16c2693ffe8623 ]---
[    4.305982] ------------[ cut here ]------------
[    4.305992] WARNING: CPU: 0 PID: 1361 at drivers/gpu/drm/i915/intel_display.c:6456 intel_atomic_commit+0x9e6/0x22f0()
[    4.305993] attached crtc is active, but connector isn't
[    4.305995] Modules linked in: arc4 iwlmvm mac80211 snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_pcm snd_hwdep snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp snd_rawmidi kvm_intel cmac kvm iwlwifi snd_seq irqbypass dm_multipath crct10dif_pclmul btusb crc32_pclmul cfg80211 snd_timer btrtl snd_seq_device btbcm mei_me btintel mei rfcomm aesni_intel bnep bluetooth snd aes_x86_64 glue_helper lrw gf128mul shpchp ablk_helper lpc_ich cryptd serio_raw nuvoton_cir soundcore rc_core binfmt_misc i2c_hid dw_dmac hid dw_dmac_core i2c_designware_platform spi_pxa2xx_platform 8250_dw i2c_designware_core parport_pc nls_iso8859_1 acpi_pad mac_hid ppdev lp parport dm_mirror dm_region_hash dm_log usb_storage e1000e psmouse ptp ahci libahci pps_core sdhci_acpi sdhci
[    4.306048] CPU: 0 PID: 1361 Comm: Xorg Tainted: G        W       4.4.0-rc3+ #75
[    4.306049] Hardware name: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/NUC5i5RYB, BIOS RYBDWi35.86A.0137.2015.0107.1700 01/07/2015
[    4.306051]  ffffffff81d3e018 ffff88040b1efaf8 ffffffff813937ad ffff88040b1efb40
[    4.306054]  ffff88040b1efb30 ffffffff81076196 ffff8800d9479000 ffff8804097bc200
[    4.306057]  ffff880409978000 0000000000000004 ffff88040b6ca400 ffff88040b1efb90
[    4.306060] Call Trace:
[    4.306065]  [<ffffffff813937ad>] dump_stack+0x44/0x57
[    4.306068]  [<ffffffff81076196>] warn_slowpath_common+0x86/0xc0
[    4.306070]  [<ffffffff8107621c>] warn_slowpath_fmt+0x4c/0x50
[    4.306073]  [<ffffffff81563df6>] intel_atomic_commit+0x9e6/0x22f0
[    4.306077]  [<ffffffff811c73cb>] ? kmem_cache_alloc_trace+0x17b/0x1e0
[    4.306081]  [<ffffffff814c9923>] ? drm_atomic_helper_connector_duplicate_state+0x33/0x80
[    4.306084]  [<ffffffff814ead28>] ? drm_atomic_check_only+0x158/0x580
[    4.306087]  [<ffffffff814ea520>] ? drm_atomic_set_crtc_for_connector+0x20/0x90
[    4.306090]  [<ffffffff814eb187>] drm_atomic_commit+0x37/0x60
[    4.306092]  [<ffffffff814cbce7>] drm_atomic_helper_set_config+0x77/0xb0
[    4.306096]  [<ffffffff814da974>] drm_mode_set_config_internal+0x64/0x100
[    4.306098]  [<ffffffff814de8bd>] drm_mode_setcrtc+0xdd/0x4f0
[    4.306102]  [<ffffffff814d0f4b>] drm_ioctl+0x23b/0x4d0
[    4.306105]  [<ffffffff810686d3>] ? pte_alloc_one+0x33/0x40
[    4.306108]  [<ffffffff814de7e0>] ? drm_mode_setplane+0x1c0/0x1c0
[    4.306111]  [<ffffffff811f955d>] do_vfs_ioctl+0x2cd/0x4b0
[    4.306114]  [<ffffffff810826b2>] ? __set_task_blocked+0x32/0x70
[    4.306116]  [<ffffffff81084d06>] ? __set_current_blocked+0x36/0x60
[    4.306119]  [<ffffffff811f97b9>] SyS_ioctl+0x79/0x90
[    4.306121]  [<ffffffff81084f76>] ? SyS_rt_sigprocmask+0x86/0xb0
[    4.306124]  [<ffffffff81826976>] entry_SYSCALL_64_fastpath+0x16/0x75
[    4.306126] ---[ end trace 7f16c2693ffe8624 ]---
[    4.890947] ------------[ cut here ]------------
[    4.890957] WARNING: CPU: 3 PID: 1361 at drivers/gpu/drm/drm_atomic_helper.c:682 drm_atomic_helper_update_legacy_modeset_state+0x22b/0x250()
[    4.890959] Modules linked in: arc4 iwlmvm mac80211 snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_pcm snd_hwdep snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp snd_rawmidi kvm_intel cmac kvm iwlwifi snd_seq irqbypass dm_multipath crct10dif_pclmul btusb crc32_pclmul cfg80211 snd_timer btrtl snd_seq_device btbcm mei_me btintel mei rfcomm aesni_intel bnep bluetooth snd aes_x86_64 glue_helper lrw gf128mul shpchp ablk_helper lpc_ich cryptd serio_raw nuvoton_cir soundcore rc_core binfmt_misc i2c_hid dw_dmac hid dw_dmac_core i2c_designware_platform spi_pxa2xx_platform 8250_dw i2c_designware_core parport_pc nls_iso8859_1 acpi_pad mac_hid ppdev lp parport dm_mirror dm_region_hash dm_log usb_storage e1000e psmouse ptp ahci libahci pps_core sdhci_acpi sdhci
[    4.891012] CPU: 3 PID: 1361 Comm: Xorg Tainted: G        W       4.4.0-rc3+ #75
[    4.891014] Hardware name: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/NUC5i5RYB, BIOS RYBDWi35.86A.0137.2015.0107.1700 01/07/2015
[    4.891016]  ffffffff81d340e8 ffff88040b1efb10 ffffffff813937ad 0000000000000000
[    4.891019]  ffff88040b1efb48 ffffffff81076196 ffff88040b1bea00 ffff8800d9479000
[    4.891021]  0000000000000004 ffff88040c2ca800 ffff880405505f60 ffff88040b1efb58
[    4.891024] Call Trace:
[    4.891029]  [<ffffffff813937ad>] dump_stack+0x44/0x57
[    4.891032]  [<ffffffff81076196>] warn_slowpath_common+0x86/0xc0
[    4.891035]  [<ffffffff8107628a>] warn_slowpath_null+0x1a/0x20
[    4.891038]  [<ffffffff814c922b>] drm_atomic_helper_update_legacy_modeset_state+0x22b/0x250
[    4.891041]  [<ffffffff81563c08>] intel_atomic_commit+0x7f8/0x22f0
[    4.891046]  [<ffffffff818245df>] ? __ww_mutex_lock+0x5f/0x97
[    4.891049]  [<ffffffff814e9901>] ? modeset_backoff+0x101/0x120
[    4.891052]  [<ffffffff814ead28>] ? drm_atomic_check_only+0x158/0x580
[    4.891055]  [<ffffffff814ea520>] ? drm_atomic_set_crtc_for_connector+0x20/0x90
[    4.891058]  [<ffffffff814eb187>] drm_atomic_commit+0x37/0x60
[    4.891061]  [<ffffffff814cbce7>] drm_atomic_helper_set_config+0x77/0xb0
[    4.891064]  [<ffffffff814da974>] drm_mode_set_config_internal+0x64/0x100
[    4.891067]  [<ffffffff814de8bd>] drm_mode_setcrtc+0xdd/0x4f0
[    4.891070]  [<ffffffff814d0f4b>] drm_ioctl+0x23b/0x4d0
[    4.891073]  [<ffffffff814de7e0>] ? drm_mode_setplane+0x1c0/0x1c0
[    4.891077]  [<ffffffff811f955d>] do_vfs_ioctl+0x2cd/0x4b0
[    4.891080]  [<ffffffff810826b2>] ? __set_task_blocked+0x32/0x70
[    4.891082]  [<ffffffff811e8e81>] ? __sb_end_write+0x21/0x30
[    4.891085]  [<ffffffff81084d06>] ? __set_current_blocked+0x36/0x60
[    4.891087]  [<ffffffff811f97b9>] SyS_ioctl+0x79/0x90
[    4.891090]  [<ffffffff81826976>] entry_SYSCALL_64_fastpath+0x16/0x75
[    4.891092] ---[ end trace 7f16c2693ffe8625 ]---
Comment 1 anusha 2016-06-24 21:23:34 UTC
Can you give the configuration in which you tried and more specific details to reproduce this bug?
Comment 2 Chris Wilson 2016-06-25 10:15:25 UTC
(In reply to anusha from comment #1)
> Can you give the configuration in which you tried and more specific details
> to reproduce this bug?

Please send patches to extend the state checker if you feel it is lacking information. There is already enough information here to perform a code review.
Comment 3 dog 2016-06-27 21:46:46 UTC
Chris, we are trying to add DP HW configs to the CI and QA systems so bugs like this are found proactively.  If you can tell us the HW config you used when this bug appeared, it would be very helpful.
Comment 4 Jari Tahvanainen 2016-12-09 12:50:53 UTC
let's follow this with the latest one.

*** This bug has been marked as a duplicate of bug 97551 ***


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.