Bug 105323 - [KBL] One Channel to switch HDMI & DP, but only DP work, hdmi not work >= Kernel 4.13
Summary: [KBL] One Channel to switch HDMI & DP, but only DP work, hdmi not work >= Ker...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 07:29 UTC by Gino Chen
Modified: 2018-04-20 11:07 UTC (History)
2 users (show)

See Also:
i915 platform: KBL
i915 features: display/HDMI


Attachments
Kernel_4.10-HDMI work (249.87 KB, text/plain)
2018-03-02 07:29 UTC, Gino Chen
no flags Details
Kernel_4.15-HDMI not work (181.18 KB, text/plain)
2018-03-02 07:30 UTC, Gino Chen
no flags Details

Description Gino Chen 2018-03-02 07:29:13 UTC
Created attachment 137747 [details]
Kernel_4.10-HDMI work

My platform have 2 DDI channel and 3 display(HDMI.DP1.DP2), 
DDI1 channel to switch connect HDMI&DP1 and DDI2 connect DP2. 
I installed Ubuntu 17.10(Kernel 4.13) and Ubuntu 18.04(Kernel 4.15) on Kabylake platform. But my HDMI port not work in ubuntu 17.10 & 18.04 
and I change ubuntu 16.04.3 Kernel(4.10) after hdmi can be work. 

Please help me this bug! Thanks.
Comment 1 Gino Chen 2018-03-02 07:30:01 UTC
Created attachment 137748 [details]
Kernel_4.15-HDMI not work
Comment 2 Elizabeth 2018-03-02 18:47:29 UTC
From not working dmesg:

[    3.545899] ------------[ cut here ]------------
[    3.545899] 2 encoders on crtc for pipe A
[    3.545928] WARNING: CPU: 0 PID: 166 at /build/linux-LuqUgo/linux-4.15.0/drivers/gpu/drm/i915/intel_ddi.c:1087 intel_ddi_get_crtc_encoder+0x79/0x90 [i915]
[    3.545929] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid hid i915 e1000e i2c_algo_bit drm_kms_helper ptp syscopyarea pps_core sdhci_pci sysfillrect sysimgblt ahci fb_sys_fops libahci drm sdhci video pinctrl_sunrisepoint pinctrl_intel
[    3.545938] CPU: 0 PID: 166 Comm: kworker/u4:3 Tainted: G        W        4.15.0-10-generic #11-Ubuntu
[    3.545939] Hardware name: Default string Default string/EMX-KBLU(XKBLU00A), BIOS 5.12 06/30/2017
[    3.545940] Workqueue: events_unbound async_run_entry_fn
[    3.545960] RIP: 0010:intel_ddi_get_crtc_encoder+0x79/0x90 [i915]
[    3.545961] RSP: 0018:ffffadeb00a27790 EFLAGS: 00010282
[    3.545963] RAX: 0000000000000000 RBX: ffff9e841d605000 RCX: 0000000000000002
[    3.545963] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000246
[    3.545964] RBP: ffffadeb00a27798 R08: 0000000000000000 R09: 000000000000001d
[    3.545965] R10: ffffffffc0570520 R11: 0000000000000579 R12: ffff9e841d5ba800
[    3.545966] R13: ffff9e841d378000 R14: 00000000fffffffc R15: ffff9e841d5ba800
[    3.545967] FS:  0000000000000000(0000) GS:ffff9e842dc00000(0000) knlGS:0000000000000000
[    3.545968] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.545969] CR2: 00007ffd02ff9000 CR3: 000000010ae0a004 CR4: 00000000003606f0
[    3.545970] Call Trace:
[    3.545990]  intel_ddi_enable_transcoder_func+0x24/0x230 [i915]
[    3.546016]  haswell_crtc_enable+0x3d7/0x7c0 [i915]
[    3.546043]  ? intel_runtime_pm_put+0x56/0xa0 [i915]
[    3.546069]  intel_update_crtc+0x3e/0x90 [i915]
[    3.546090]  skl_update_crtcs+0x1ad/0x270 [i915]
[    3.546111]  intel_atomic_commit_tail+0x228/0xd30 [i915]
[    3.546130]  intel_atomic_commit+0x277/0x2b0 [i915]
[    3.546142]  drm_atomic_commit+0x51/0x60 [drm]
[    3.546147]  restore_fbdev_mode_atomic+0x178/0x1e0 [drm_kms_helper]
[    3.546152]  restore_fbdev_mode+0x32/0x140 [drm_kms_helper]
[    3.546155]  ? _cond_resched+0x19/0x40
[    3.546159]  drm_fb_helper_restore_fbdev_mode_unlocked.part.32+0x28/0x80 [drm_kms_helper]
[    3.546163]  drm_fb_helper_set_par+0x43/0x70 [drm_kms_helper]
[    3.546188]  intel_fbdev_set_par+0x1a/0x70 [i915]
[    3.546190]  fbcon_init+0x493/0x670
[    3.546192]  visual_init+0xdc/0x140
[    3.546194]  do_bind_con_driver+0x207/0x420
[    3.546196]  do_take_over_console+0x82/0x1a0
[    3.546198]  do_fbcon_takeover+0x5c/0xb0
[    3.546200]  fbcon_event_notify+0x58d/0x780
[    3.546202]  notifier_call_chain+0x4c/0x70
[    3.546204]  blocking_notifier_call_chain+0x43/0x60
[    3.546207]  fb_notifier_call_chain+0x1b/0x20
[    3.546208]  register_framebuffer+0x24d/0x360
[    3.546211]  ? vga_switcheroo_client_fb_set+0x5b/0x70
[    3.546216]  __drm_fb_helper_initial_config_and_unlock+0x1fc/0x400 [drm_kms_helper]
[    3.546217]  ? __clear_rsb+0x15/0x3d
[    3.546221]  drm_fb_helper_initial_config+0x35/0x40 [drm_kms_helper]
[    3.546243]  intel_fbdev_initial_config+0x18/0x30 [i915]
[    3.546245]  async_run_entry_fn+0x3c/0x150
[    3.546246]  process_one_work+0x1ef/0x410
[    3.546248]  worker_thread+0x32/0x410
[    3.546250]  kthread+0x121/0x140
[    3.546251]  ? process_one_work+0x410/0x410
[    3.546253]  ? kthread_create_worker_on_cpu+0x70/0x70
[    3.546255]  ret_from_fork+0x35/0x40
[    3.546256] Code: 75 e7 83 fe 01 75 0f 48 85 db 74 26 48 89 d8 5b 5d c3 31 f6 31 db 8b 97 b0 04 00 00 48 c7 c7 60 f9 63 c0 83 c2 41 e8 37 4b ed e3 <0f> ff 48 85 db 75 da 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 
[    3.546280] ---[ end trace 772ec0a4c0ecbf65 ]---
[    3.546306] [drm:intel_enable_pipe [i915]] enabling pipe A
[    3.546379] [drm:intel_edp_drrs_enable [i915]] Panel doesn't support DRRS
[    3.546408] [drm:intel_audio_codec_enable [i915]] ELD on [CONNECTOR:66:DP-2], [ENCODER:65:DDI C]
[    3.546433] [drm:hsw_audio_codec_enable [i915]] Enable audio codec on pipe A, 36 bytes ELD
[    3.546459] [drm:hsw_audio_config_update [i915]] using automatic Maud, Naud
[    3.546492] [drm:intel_fbc_enable [i915]] reserved 16588800 bytes of contiguous stolen space for FBC, threshold: 1
[    3.546514] [drm:intel_fbc_enable [i915]] Enabling FBC on pipe A
[    3.563265] [drm:verify_connector_state.isra.115 [i915]] [CONNECTOR:66:DP-2]
[    3.563305] [drm:intel_atomic_commit_tail [i915]] [CRTC:37:pipe A]
[    3.563350] [drm:intel_ddi_get_hw_state [i915]] No pipe for ddi port B found
[    3.563351] ------------[ cut here ]------------
[    3.563352] [ENCODER:58] active 0 with crtc active 1
[    3.563394] WARNING: CPU: 0 PID: 166 at /build/linux-LuqUgo/linux-4.15.0/drivers/gpu/drm/i915/intel_display.c:11579 intel_atomic_commit_tail+0xc5b/0xd30 [i915]
[    3.563395] Modules linked in: hid_logitech_hidpp hid_logitech_dj usbhid hid i915 e1000e i2c_algo_bit drm_kms_helper ptp syscopyarea pps_core sdhci_pci sysfillrect sysimgblt ahci fb_sys_fops libahci drm sdhci video pinctrl_sunrisepoint pinctrl_intel
[    3.563408] CPU: 0 PID: 166 Comm: kworker/u4:3 Tainted: G        W        4.15.0-10-generic #11-Ubuntu
[    3.563408] Hardware name: Default string Default string/EMX-KBLU(XKBLU00A), BIOS 5.12 06/30/2017
[    3.563412] Workqueue: events_unbound async_run_entry_fn
[    3.563438] RIP: 0010:intel_atomic_commit_tail+0xc5b/0xd30 [i915]
[    3.563439] RSP: 0018:ffffadeb00a27928 EFLAGS: 00010286
[    3.563440] RAX: 0000000000000000 RBX: ffff9e841d607000 RCX: 000000000000001f
[    3.563441] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000246
[    3.563442] RBP: ffffadeb00a279b0 R08: 0000000000000000 R09: 0000000000000028
[    3.563443] R10: ffffadeb00a27890 R11: 00000000000005bb R12: ffff9e841d109800
[    3.563444] R13: ffff9e841d10d800 R14: ffff9e841d5ba800 R15: ffff9e841d378338
[    3.563445] FS:  0000000000000000(0000) GS:ffff9e842dc00000(0000) knlGS:0000000000000000
[    3.563446] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.563447] CR2: 00007ffd02ff9000 CR3: 000000010ae0a004 CR4: 00000000003606f0
[    3.563448] Call Trace:
[    3.563473]  intel_atomic_commit+0x277/0x2b0 [i915]
[    3.563488]  drm_atomic_commit+0x51/0x60 [drm]
[    3.563496]  restore_fbdev_mode_atomic+0x178/0x1e0 [drm_kms_helper]
[    3.563502]  restore_fbdev_mode+0x32/0x140 [drm_kms_helper]
[    3.563505]  ? _cond_resched+0x19/0x40
[    3.563510]  drm_fb_helper_restore_fbdev_mode_unlocked.part.32+0x28/0x80 [drm_kms_helper]
[    3.563514]  drm_fb_helper_set_par+0x43/0x70 [drm_kms_helper]
[    3.563545]  intel_fbdev_set_par+0x1a/0x70 [i915]
[    3.563548]  fbcon_init+0x493/0x670
[    3.563550]  visual_init+0xdc/0x140
[    3.563552]  do_bind_con_driver+0x207/0x420
[    3.563554]  do_take_over_console+0x82/0x1a0
[    3.563556]  do_fbcon_takeover+0x5c/0xb0
[    3.563558]  fbcon_event_notify+0x58d/0x780
[    3.563561]  notifier_call_chain+0x4c/0x70
[    3.563563]  blocking_notifier_call_chain+0x43/0x60
[    3.563565]  fb_notifier_call_chain+0x1b/0x20
[    3.563567]  register_framebuffer+0x24d/0x360
[    3.563570]  ? vga_switcheroo_client_fb_set+0x5b/0x70
[    3.563575]  __drm_fb_helper_initial_config_and_unlock+0x1fc/0x400 [drm_kms_helper]
[    3.563577]  ? __clear_rsb+0x15/0x3d
[    3.563581]  drm_fb_helper_initial_config+0x35/0x40 [drm_kms_helper]
[    3.563607]  intel_fbdev_initial_config+0x18/0x30 [i915]
[    3.563609]  async_run_entry_fn+0x3c/0x150
[    3.563610]  process_one_work+0x1ef/0x410
[    3.563612]  worker_thread+0x32/0x410
[    3.563614]  kthread+0x121/0x140
[    3.563615]  ? process_one_work+0x410/0x410
[    3.563617]  ? kthread_create_worker_on_cpu+0x70/0x70
[    3.563619]  ret_from_fork+0x35/0x40
[    3.563620] Code: 25 fa ff ff 89 ce 48 c7 c7 08 b4 63 c0 e8 be 6b ef e3 0f ff e9 f2 f8 ff ff 44 89 c9 44 89 c2 48 c7 c7 d8 b3 63 c0 e8 a5 6b ef e3 <0f> ff 0f b6 45 88 e9 a0 f8 ff ff 48 c7 c7 98 b2 63 c0 e8 8e 6b 
[    3.563644] ---[ end trace 772ec0a4c0ecbf66 ]---
Comment 3 Gino Chen 2018-03-08 03:02:08 UTC
Hi Elizabeth

How can fix this question?? This BUG is BIOS or i915 issue?
Comment 4 Gino Chen 2018-03-08 03:10:32 UTC
I find different message.

HDMI not work:
[    2.941963] [drm:intel_hdmi_init_connector [i915]] Using DDC pin 0x4 for port C (VBT)

HDMI work:
[    2.631450] [drm:intel_hdmi_init_connector [i915]] Using DDC pin 0x5 for port B (platform default)

But I do not know whether the two messages are related to the issue?
Comment 5 Gino Chen 2018-03-14 02:15:52 UTC
I updated the BIOS and this bug was gone.
Thanks everybody very much.
Comment 6 Jani Saarinen 2018-04-20 11:07:56 UTC
Thanks, Closing, please re-open if still occurs.


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.