drm/nouveau: base fence timeout on time of emission
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Wed, 25 Apr 2012 21:20:33 +0000 (23:20 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:31:59 +0000 (16:31 +1000)
Wait loop can be interrupted by signal, so if signals are raised
periodically (e.g. SIGALRM) this loop may never finish. Use
emission time as a base for fence timeout.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found