nouveau: safen up nouveau_device list usage against concurrent access
authorMaarten Lankhorst <maarten.lankhorst@ubuntu.com>
Thu, 13 Mar 2014 02:05:15 +0000 (22:05 -0400)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Apr 2014 08:29:49 +0000 (10:29 +0200)
commitb1d4def05992bf061d6e0cc901ca00b7995e8d75
treecc29141d297e19a395ac52e14d1e84e508f1cf94
parent504d606275edbc86b045492f1757c3cd82c298c4
nouveau: safen up nouveau_device list usage against concurrent access

I cannot make nouveau_bo_wrap thread-safe (by design), but it seems to be used to convert
drm fb's to nouveau_bo's and to get a notify handle from fifo->notify in nv30_screen.c

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
nouveau/nouveau.c
nouveau/private.h