<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 - Forced EDID is ignored"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110423">110423</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Forced EDID is ignored
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Heiko.Lechner@ruhr-uni-bochum.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143968" name="attach_143968" title="output from edid-decode from hacked EDID file">attachment 143968</a> <a href="attachment.cgi?id=143968&action=edit" title="output from edid-decode from hacked EDID file">[details]</a></span>
output from edid-decode from hacked EDID file

I have a tv that does not handle YCbCr properly but advertises it in his EDID.
So I have to force Full RGB over HDMI because it seems that my RX 570 uses
YCbCr by default (maybe because of the HDMI connection?).
There is no switch to force Full RGB so I downloaded the EDID with get-edid
using i2c and hacked it to disable the advertisement of YcbCr. I copied it to
the initrd and force loaded it via drm.edid_firmware=edid/PhilipsFTV.bin.
It works:
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-trunk-amd64
root=UUID=1c91ef55-0cf6-4694-bd2a-29aeb6492b3b ro
drm.edid_firmware=edid/PhilipsFTV.bin
[    0.849967] platform HDMI-A-1: firmware: direct-loading firmware
edid/PhilipsFTV.bin
[    0.850055] [drm] Got external EDID base block and 1 extension from
"edid/PhilipsFTV.bin" for connector "HDMI-A-1"

But the problems with my tv persist. So I think that the forced EDID is ignored
by AMDGPU.

uname -a:
Linux Heimkino-PC 5.0.0-trunk-amd64 #1 SMP Debian 5.0.7-1~exp1 (2019-03-22)
x86_64 GNU/Linux</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>