Bug 96539 - [BXT-P] hotplug is not working on HDMI
Summary: [BXT-P] hotplug is not working on HDMI
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 normal
Assignee: Humberto Israel Perez Rodriguez
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 17:07 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-03-31 23:02 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features: display/HDMI, display/LSPCON


Attachments
dmesg (64.95 KB, text/plain)
2016-06-15 17:07 UTC, Humberto Israel Perez Rodriguez
no flags Details
attachment-13591-0.html (2.09 KB, text/html)
2017-02-23 16:58 UTC, Manasi
no flags Details

Description Humberto Israel Perez Rodriguez 2016-06-15 17:07:35 UTC
Created attachment 124547 [details]
dmesg

Steps to reproduce
====================
1-Boot to linux without HDMI connected
2-Connect HDMI 


Actual result
====================
hotplug is not working on HDMI

Expected result
====================
in the step 2 hotplug must works with HDMI

Notes : the HDMI only works if it is connected from the beggining


kernel : 4.6.1 from http://www.kernel.org/

Graphic stack
--> Component : drm 
         tag : libdrm-2.4.68 
         commit : fc09c5a 
--> Component : mesa 
         tag : mesa-11.2.2 
         commit : 3a9f628 
--> Component : xf86-video-intel 
         tag : 2.99.917 
         commit : baec802 
--> Component : libva 
         tag : libva-1.7.1.pre1 
         commit : 453876f 
--> Component : vaapi (intel-driver) 
         tag : 1.7.1.pre1 
         commit : 2975480 
--> Component : cairo 
         tag : 1.15.2 
         commit : db8a7f1 
--> Component : xserver 
         tag : xorg-server-1.18.3 
         commit : 9454cd5 
--> Component : intel-gpu-tools 
         tag : intel-gpu-tools-1.15 
         commit : 3ce58b6 

Software information
===============================================
Linux distribution                  : Ubuntu 16.04
Architecture                        : 64-bit
Bios revision                       : 138.25
KSC revision                        : 1.12
DMC revision                        : 1.07

Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])


Attachments
=====================================
dmesg
Comment 1 Humberto Israel Perez Rodriguez 2016-06-15 17:11:41 UTC
the command : 

$ udevadm monitor

does not shows any hotplug events

DP is hotplug/hotunplug capable
Comment 2 Imre Deak 2016-06-15 18:34:01 UTC
I assume you connect the HDMI display via the DDI0 HDMI plug. In that case it's expected that HDMI won't work if it's not connected when booting, since the driver is missing LSPCON support. If the display is connected BIOS will configure LSPCON.

An HDMI display connected to the DDI1 DP++ port via a type 1 HDMI dongle should work fine.
Comment 3 Luis Botello 2016-07-08 23:03:34 UTC
Hot plug is now working for me on APL with the following config:

 Software information
============================================
Kernel version                  : 4.7.0-rc5-nightly+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : 11.2.2 (git-3a9f628
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.99.1
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Broxton - 1.7.2.pre1 (1.7.0-53-gbcde10d)
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15-87-g376b813] / Commit [376b813]
Kernel driver in use            : i915
Hardware acceleration           : Enabled
Bios revision                   : 144.10
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : BXT-P
Motherboard model               : Broxton P Fab 2
GPU Card                        : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
CPU's number                    : 4

 Firmwares information
============================================
DMC version                     : 1.7
GUC version found               : 8.7
Comment 4 Jani Nikula 2016-10-14 10:46:43 UTC
Please try https://patchwork.freedesktop.org/series/8024/ on top of drm-intel-nightly branch of http://cgit.freedesktop.org/drm-intel
Comment 5 Imre Deak 2016-12-09 09:44:43 UTC
Please test with latest -nightly it has LSPCON support.
Comment 6 Ricardo 2017-02-23 16:57:57 UTC
Humberto can you please try again with latest lightly
Comment 7 Manasi 2017-02-23 16:58:07 UTC
Created attachment 129877 [details]
attachment-13591-0.html

I will be out speaking at the Emebdedd Linux Conference North America 2017 from 02/21 to 02/23 with limited email access.

Regards
Manasi
Comment 8 Humberto Israel Perez Rodriguez 2017-03-31 23:01:58 UTC
wit the commercial APL  this issue does not happen anymore

======================================
             Software
======================================
kernel version            : 4.10.2-mainline-ww12-version-4.10.2
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety
bios revision             : 5.6
bios release date         : 11/08/2016
ksc                       : 13.0

======================================
        Graphic drivers
======================================
mesa                      : 17.0.1 (git-8fee1d3
modesetting               : modesetting_drv.so
xorg-xserver              : 1.18.4
libdrm                    : 2.4.75
cairo                     : 1.15.4
xserver                   : X.Org X Server 1.19.2
intel-gpu-tools (tag)     : intel-gpu-tools-1.18
intel-gpu-tools (commit)  : bb97a05

======================================
             Hardware
======================================
motherboard model         : NUC6CAYS
motherboard id            : NUC6CAYB
form factor               : Desktop
manufacturer              : Intelcorporation
cpu family                : Celeron
cpu family id             : 6
cpu information           : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
gpu card                  : Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
max memory ram            : 16 GB
display resolution        : 5760x2160
cpu thread                : 4
cpu core                  : 4
cpu model                 : 92
cpu stepping              : 9
socket                    : Other
signature                 : Type 0, Family 6, Model 92, Stepping 9
hard drive                : 55GiB (60GB)

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : NONE
guc version wanted        : 8.7
guc version found         : 0.0

closing this bug


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.