On 19.11.2014 09:10, Maarten Lankhorst wrote:
... On the EDITED patch from fixed-fences-for-bisect, can you do the following:
In nouveau/nv84_fence.c function nv84_fence_context_new, remove
fctx->base.sequence = nv84_fence_read(chan);
and add back
nouveau_bo_wr32(priv->bo, chan->chid * 16/4, 0x00000000);
...
Added the above on top of your "fixed-fences-for-bisect" branch and guessed it would work, but did not :/ Anyway, as this "initializes" the fence to a known state, maybe you should consider pushing that.
Going to compile the kernel with trace events (lets see how) ...
Tobias