<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CHV] HDMI detection fails, black screen after boot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96321">96321</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[CHV] HDMI detection fails, black screen after boot
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>radosd@radosd.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>i915 platform</th>
          <td>BSW/CHT
          </td>
        </tr>

        <tr>
          <th>i915 features</th>
          <td>display/HDMI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>system: Voyo v3 - x7-Z8700
OS: gentoo testing ~amd64
kernel: 4.6.0

I'm getting black screen on attached TV (Panasonic TX-48AS640E) just after
switching from EFI FB to inteldrmfb. This system has just one display output -
HDMI.

>From dmesg it seems intel_hdmi_detect is picking incorrect pin for detection
(based on wrong info from vbt?)

[    0.721621] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:40:HDMI-A-1]
[    0.721628] [drm:intel_hdmi_detect] [CONNECTOR:40:HDMI-A-1]
[    0.721635] [drm:intel_power_well_enable] enabling display
[    0.729517] i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
[    0.729523] i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
[    0.729693] [drm:do_gmbus_xfer] GMBUS [i915 gmbus panel] NAK for addr: 0050
w(1)
[    0.729699] [drm:do_gmbus_xfer] GMBUS [i915 gmbus panel] NAK on first
message, retry
[    0.729865] [drm:do_gmbus_xfer] GMBUS [i915 gmbus panel] NAK for addr: 0050
w(1)
[    0.729872] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter
i915 gmbus panel
[    0.735170] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:40:HDMI-A-1] status updated from unknown to disconnected
[    0.735181] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:40:HDMI-A-1] disconnected

I'm able to get correct edid on dpc:
voyo ~ # i2cdetect -l
i2c-0   i2c             i915 gmbus ssc                          I2C adapter
i2c-1   i2c             i915 gmbus vga                          I2C adapter
i2c-2   i2c             i915 gmbus panel                        I2C adapter
i2c-3   i2c             i915 gmbus dpc                          I2C adapter
i2c-4   i2c             i915 gmbus dpb                          I2C adapter
i2c-5   i2c             i915 gmbus dpd                          I2C adapter
i2c-6   i2c             DPDDC-D                                 I2C adapter

voyo ~ # get-edid 
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
1 potential busses found: 3
256-byte EDID successfully retrieved from i2c bus 3</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>