Bug 97390 - [Braswell] HDMI output not working on Insyde laptop board
Summary: [Braswell] HDMI output not working on Insyde laptop board
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 10:55 UTC by Anisse Astier
Modified: 2017-07-24 23:15 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/HDMI


Attachments
Patch to see the HDMI output (1.15 KB, patch)
2016-08-18 10:55 UTC, Anisse Astier
no flags Details | Splinter Review
Boot logs with drm.debug=0xe (182.38 KB, text/plain)
2016-08-18 10:56 UTC, Anisse Astier
no flags Details
/sys/kernel/debug/dri/0/i915_opregion (8.00 KB, application/octet-stream)
2016-08-18 10:57 UTC, Anisse Astier
no flags Details
Patch to make the HDMI output work (1.26 KB, patch)
2016-08-29 10:43 UTC, Anisse Astier
no flags Details | Splinter Review

Description Anisse Astier 2016-08-18 10:55:29 UTC
Created attachment 125868 [details] [review]
Patch to see the HDMI output

It seems the eDP1 and HDMI1 output are both on PORT B. If I force-enable HDMI on port B (see patch attached), I'm able to see the EDID/modes of the connected screen, but not enable the output.

I tested this on Linus' tree and drm-intel-next-queued. I'm attaching boot logs with drm.debug=0xe for dinq, with the patch.

I tested this hardware on windows, HDMI output works with the latest Intel driver.
Comment 1 Anisse Astier 2016-08-18 10:56:35 UTC
Created attachment 125869 [details]
Boot logs with drm.debug=0xe
Comment 2 Anisse Astier 2016-08-18 10:57:13 UTC
Created attachment 125870 [details]
/sys/kernel/debug/dri/0/i915_opregion
Comment 3 Anisse Astier 2016-08-29 10:43:15 UTC
Created attachment 126098 [details] [review]
Patch to make the HDMI output work

With the attached patch the HDMI output now works.

So on this Insyde board, the HDMI is on PORTC, but the i2c uses gmbus
pin 5, which should be for PORTB. Which is why we can get the EDID if we
force-enable PORTB, but not the output.
    
With this patch PORTC will use gmbus pin 5, allowing the driver to get
the EDID. It's obviously just a hack/PoC.
    
Skylake has some information in the VBT to provide an alternate ddc pin,
but I don't know if Braswell/Cherryview has the same information. To be
continued...
Comment 4 Jani Nikula 2016-12-23 14:26:27 UTC
Is this still a problem with current drm-tip branch of https://cgit.freedesktop.org/drm-tip
Comment 5 Ricardo 2017-03-03 16:43:28 UTC
Anisse Astier is this problem still occur? couple of months with no response. IF the problem still exist please update the bug logs attached and change the status of the bug to Repoen...

if the bug does not appear please change the status to resolved.

if there is no activity in this bug, the bug will be closed. thanks for understanding
Comment 6 Anisse Astier 2017-03-03 17:17:03 UTC
Hi Ricardo,

> --- Comment #5 from Ricardo <ricardo.vega@linux.intel.com> ---
> Anisse Astier is this problem still occur? couple of months with no response.
> IF the problem still exist please update the bug logs attached and change the
> status of the bug to Repoen...
> 
> if the bug does not appear please change the status to resolved.
> 
> if there is no activity in this bug, the bug will be closed. thanks for
> understanding

I don't have access to the hardware anymore to test with latest kernels.
You can close the bug.
Comment 7 Jari Tahvanainen 2017-04-19 14:19:59 UTC
Marking as resolved+worksforme based on the previous comment from reporter.


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.