Potential fix for doom3 lockups. Seems that there is a conflict
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 12 Sep 2006 13:54:31 +0000 (13:54 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 12 Sep 2006 13:54:31 +0000 (13:54 +0000)
commit16a22a5f4a9e0497164ef0fddcb4fe9ba1f6756e
tree0a4b10bc277424345557664884c0548f03abb781
parent72e810db9db663dd3ff5f746d942423d87928e86
Potential fix for doom3 lockups.  Seems that there is a conflict
between the vertex cache, the vertex shader and the clipping stages,
all of which are competitors for URB entries assigned to the VS unit.
This change reduces the maximum number of clip and VS threads by
enough to ensure that they cannot consume all the available URB
entries, and then reduces the number somewhat more up to an arbitary
amount I discovered by trial and error.  Unfortunately trial and error
solutions don't inspire total confidence...
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_urb.c
src/mesa/drivers/dri/i965/brw_vs_state.c