[Bug 98690] [SKL bisected] System freeze when starting X using kernel 4.9-rc1 or later

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 6 13:27:41 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=98690

--- Comment #59 from Peter Ujfalusi <peter.ujfalusi at gmail.com> ---
Created attachment 129364
  --> https://bugs.freedesktop.org/attachment.cgi?id=129364&action=edit
patch2_4_fixed: enable poll from hpd_work to avoid races (4.10-rc5)

Gleb,

I should have at least compiled the patches before attaching them. Sorry to
waste your time.

Can you try the following:
v4.10-rc5 + patch2_1 + patch2_4_fixed

_if_ boots up, then can you run the same kernel with nouveau.runpm=0?

What this patch does is that it will call the poll_enable from the hpd_work
worker function only.
But, if you boot with runpm=0 then the pm_runtime callbacks will never going to
be called, so the poll_work is not going to run at all. This is why I try to
start that manually when runpm is 0.

The hpd_work is inside of nouveau and it's function is to detect changes in
connected displays the driver might missed due to pm_runtime. It is only
scheduled when there is a need to check for changes, like power on.

The poll_work on the other hand is in the DRM core and it is a work running
every 10 seconds when it is enabled and it is also checking changes in
connector states, but only the connectors which does not support change
notifications and are not static.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170206/2988b232/attachment.html>


More information about the intel-gfx-bugs mailing list