[Nouveau] [Bug 92961] Xorg freezes (only mouse and ssh are still working)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 2 23:25:13 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=92961
--- Comment #20 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Nic Soudée from comment #19)
> Created attachment 142692 [details] [review]
> Handle INTR 0x00800000 in gf100_fifo_intr
>
> Attached is a patch I applied to kernel 4.19.5 to desperately thwart my DELL
> E6420 from randomly getting its video busted (very similar symptons as
> Comment #3 of this ticket, and is why I'm posting here). I don't have any
> experience with such low-level programming but I just pretended I knew what
> I was doing and cut and pasted a condition for that INTR 0x00800000 error
> which pops up every time that catastrophic random event happens.
>
> So far, my E6420 is working great despite receiving some of those INTRs,
> thanks to this patch. I am posting this in hopes it might be on the right
> track towards getting this fixed by someone who knows what they're doing...
That's a little surprising. The existing logic will mask out further interrupts
by writing a 0 into the relevant bit of 2140 (which is the INTR_EN register,
which controls which intr's get surfaced).
Your logic removes that, which means that you'll keep getting the unknown
intr's, and also you add a read from 258c. That's unlikely to matter though.
However now if we *do* ever get an interrupt for that bit in 2100 after
disabling the bit in 2140, then it'll be stuck forever. I suspect that the "&
mask" should be removed at the beginning of that function [and thus the read
from 2140].
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181202/ce1e14aa/attachment.html>
More information about the Nouveau
mailing list