nouveau: use atomic operations for driver statistics
authorKarol Herbst <kherbst@redhat.com>
Fri, 7 Dec 2018 19:10:50 +0000 (20:10 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 9 Dec 2018 03:43:20 +0000 (04:43 +0100)
commitd63a13308229b5c5a08358ccacdac83272596c78
tree1ce648be07942ec03cf35e4b164dc2d0010d695b
parenta28ff2229513d68ae39e2ea927d21b327a356348
nouveau: use atomic operations for driver statistics

multiple threads can write to those at the same time

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nouveau_screen.h