<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 - option to disable deep color (or set HDMI bandwidth limit)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101166">101166</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>option to disable deep color (or set HDMI bandwidth limit)
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </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>axkibe@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>Steps to reproduce the problem:

* have a kernel (~> 4.6 ) where drm is able to do deep color
* have an chip that uses i915 
* have a deep color able TV screen (1080p)
* connect them via a CAT5-bridge (as in our meeting rooms be done) that can
handle 1060p only on 8bit.

Happens all the time.

This setup breaks with and only with Linux laptops with recent kernels, due to
them turning on deep color which seemingly overloads the CAT5 bridge and thus
the screen starts flickering (turning to black every 10-20 seconds for half a
second).

Following "patch" solves the issue for me, since it forcefully disables all
deep color ability for this notebook:

----
linux-4.11.2$ diff -u drivers/gpu/drm/drm_edid.c.org drivers/gpu/drm/drm_edid.c
--- drivers/gpu/drm/drm_edid.c.org    2017-05-24 14:08:19.162452768 +0200
+++ drivers/gpu/drm/drm_edid.c    2017-05-24 14:10:33.149417356 +0200
@@ -3803,6 +3803,7 @@

     if (cea_db_payload_len(hdmi) < 6)
         return;
+    return;

     if (hdmi[6] & DRM_EDID_HDMI_DC_30) {
         dc_bpc = 10;
------

I'd wish there was a module parameter to force this off, other than hacking the
source. (Or I kept overlooking an existing one)

PS: As far I realize, unless this is a more sophisticated EDID bug, at fault
here is that stupid CAT5-bridge that is supposed to modify the EDID to
something it can handle, which it doesn't.</pre>
        </div>
      </p>


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

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