drm/nouveau: fix race when adding delayed work items
authorBen Skeggs <bskeggs@redhat.com>
Fri, 22 Dec 2017 22:54:28 +0000 (08:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 22 Dec 2017 22:56:59 +0000 (08:56 +1000)
commitb26a2319be3dd26edb3013504992a037a5902520
tree06a2459912091f94952ccc308a89143a32d42d0f
parent4ef928929987c19fff4d3c1650f139560ba1cc13
drm/nouveau: fix race when adding delayed work items

kernel.org bz#198221.

Reported-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c