<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL bisected] System freeze when starting X using kernel 4.9-rc1 or later"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98690#c57">Comment # 57</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [SKL bisected] System freeze when starting X using kernel 4.9-rc1 or later"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98690">bug 98690</a>
              from <span class="vcard"><a class="email" href="mailto:peter.ujfalusi@gmail.com" title="Peter Ujfalusi <peter.ujfalusi@gmail.com>"> <span class="fn">Peter Ujfalusi</span></a>
</span></b>
        <pre>Gleb,

(In reply to Gleb Nemshilov from <a href="show_bug.cgi?id=98690#c55">comment #55</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=129332" name="attach_129332" title="4.10-rc6 without 1s delay">attachment 129332</a> <a href="attachment.cgi?id=129332&action=edit" title="4.10-rc6 without 1s delay">[details]</a></span>
> 4.10-rc6 without 1s delay

> Hi Peter!

> I've seen some changes were introduced in 4.10-rc6 with something related to
> polling in nouveau by Lyude Paul, specifically this patch:
> <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/</a>
> ?id=cae9ff036eea577856d5b12860b4c79c5e71db4a

> So I decided to try 4.10-rc6 without your patch with delayed event (so I
> reverted it) and kernel booted.

> Can you confirm this?</span >

I think the patch you have linked is essentially going to disable the poll_work
as such (imho the commit is bogus).
The mode_config.poll_enabled is set to true in the poll_init and it will never
going to be false after that. The poll_enable will not schedule the poll_work
if poll_enable is not true, the patch will not call the enable_poll in case
mode_config.poll_enabled is true. So the poll_work will never run.

<span class="quote">> 
> dmesg log for 4.10-rc6 attached.</span ></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 QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>