<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - regression bisected black screen with cursor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110030#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - regression bisected black screen with cursor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110030">bug 110030</a>
              from <span class="vcard"><a class="email" href="mailto:2kmm@gmx.de" title="Manuel Mommertz <2kmm@gmx.de>"> <span class="fn">Manuel Mommertz</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=143674" name="attach_143674" title="test-patch">attachment 143674</a> <a href="attachment.cgi?id=143674&action=edit" title="test-patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=110030&attachment=143674'>[review]</a>
test-patch

I try to understand what exactly changed here so I looked into the sources. I
have found that the association between connectors and crtcs changes due to the
patch mentioned above. With the attached test-patch X works again and the
debugging output shows the exchange of crtc-pointers between the connectors:

[    2.878198] [drm:drm_setup_crtcs [drm_kms_helper]] NOT WORKING: CONN 4 -
crtc: ffffa36ef4054f48
[    2.878201] [drm:drm_setup_crtcs [drm_kms_helper]] NOT WORKING: CONN 5 -
crtc: ffffa36ef4054f00
[    2.878205] [drm:drm_setup_crtcs [drm_kms_helper]] WORKING:     CONN 4 -
crtc: ffffa36ef4054f00
[    2.878207] [drm:drm_setup_crtcs [drm_kms_helper]] WORKING:     CONN 5 -
crtc: ffffa36ef4054f48

In the duplicate bug you said:
<span class="quote">> Not a bug in the kernel, xorg's modesetting driver needs to set all
> connectors/crtc's directly when using atomic. The legacy path disabled crtc
> B for you if you stole all its connectors for a different crtc. In the
> atomic case you need to disable it yourself.

> This is a bug in x.org's modesetting driver.</span >

Though it seems to me this is not related here as there are no stolen
connectors involved. And the source of the modesetting-driver from xorg already
has a part that disables crtcs without connection (see
<a href="https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/drmmode_display.c">https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/drmmode_display.c</a>
line 778)

So do you say the right path from here is to let the modesetting driver change
the association between the connectors and crtcs?</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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>