drm/nouveau: increase reservation sequence every retry
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:54:22 +0000 (14:54 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Jan 2013 13:54:22 +0000 (14:54 +0100)
commit979ee290ff0a543352243145dc3654af5a856ab8
treed4dcda47c61c10f4dc62a4b123fbdc747c256a62
parent42f6e3da974dc8ad81775110c8d06835acdf375e
drm/nouveau: increase reservation sequence every retry

This is temporary until the fence framework can be used. With the
lru/reservation atomicity removal it is possible to see your old
sequence number and the buffer being reserved, leading to erroneously
reporting -EDEADLK.

Workaround it by bumping the sequence number every retry.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
drivers/gpu/drm/nouveau/nouveau_gem.c