<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 - Dell TB16 external displays blank in kernel 4.14.4+"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104425">104425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Dell TB16 external displays blank in kernel 4.14.4+
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>arequipeno@gmail.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></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=136464" name="attach_136464" title="dmesg from working kernel (commit 56350fb8978bbf4aafe08f21234e161dd128b417)">attachment 136464</a> <a href="attachment.cgi?id=136464&action=edit" title="dmesg from working kernel (commit 56350fb8978bbf4aafe08f21234e161dd128b417)">[details]</a></span>
dmesg from working kernel (commit 56350fb8978bbf4aafe08f21234e161dd128b417)

TL;DR - Commit a45b30a6c5db631e2ba680304bd5edd0cd1f9643 breaks external
displays attached to a Dell TB16 dock.

Hardware is a Dell Precision 5520 "developer edition" laptop attached to a Dell
TB16 (Thunderbolt 3) dock.  This laptop does not have a separate discrete GPU,
only the GPU integrated into its Core i5 processor.

OS is Fedora 27, but dmesg files in this bug are from mainline kernel.

When the laptop is docked, it is closed, and I use *only* the displays (and
keyboard, etc.) attached to the TB16.  This works fine up through commit
56350fb8978bbf4aafe08f21234e161dd128b417, but commit
a45b30a6c5db631e2ba680304bd5edd0cd1f9643 causes the displays to be disabled as
soon as the i915 module is loaded, leaving no working display at all.

I had a heck of a time preventing the i915 module from being loaded, so the two
dmesg files were produced with the following sequence:

* Blacklist the i915 module in /etc/modprobe.d and rebuild the initramfs
* Rename the i915.ko file under /lib/modules/...
* Reboot to multi-user.target
* Remove the drm modules that somehow got auto-loaded
  - modprobe -r drm_kms_helper
  - modprobe -r drm
* Rename i915.ko back to its correct file name
* Load the drm and i915 modules with debugging enabled
  - modprobe drm debug=0x0f
  - modprobe i915</pre>
        </div>
      </p>


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

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