If you flood the FIFO with a lot of commands it is possible to trigger a FIFO reset.
The fifo reset should only occur when we have transitioned from 3D into the X server (to correct a badly behaving client that sends a partial command) The code can be rearranged to do that.
The fifo check can also be improved to check the depth of the fifo and make sure the depth hasn't changed in during the duration of the fifo timeout. Since a single request to the hardware can never take very long this would be a better check.
Log in to post a comment.