[Nouveau] [Bug 35876] Hard GPU hang on nvidia
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 1 19:49:11 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=35876
--- Comment #1 from maximlevitsky at gmail.com 2011-04-01 19:49:11 PDT ---
I might have being lucky with this bug, dunno.
I looked at docomentation at envytools and it mentions that you can't do a tlb
flush while pgraph is running on NV86.
Well, thats known and code contains a workaround.
What I did in addition to that is I took Martin Peres's code that
suspends/resumes pgraph and hooked it into nv84_graph_tlb_flush.
No hangs yet, but that doesn't mean anything yet.
I added this code:
nv50_graph_pause(dev);
nv50_vm_flush_engine(dev, 0);
nv50_graph_unpause(dev);
So PGRAPH is paused when it is supposed to be idle.
Yet, his nv50_graph_pause often complains that:
[18931.100046] [drm] nouveau 0000:01:00.0: PGRAPH: PGRAPH paused while running
a ctxprog, NV40_PGRAPH_CTXCTL_0310 = 0x11
[18937.770017] [drm] nouveau 0000:01:00.0: PGRAPH: wait for idle fail: 00000000
00000000 00000000 00000101!
Let wait and see, but it could be that I am right and we need to pause PGRAPH
more aggressively here.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Nouveau
mailing list