linux/drivers/gpu/drm/nouveau/nvkm
Samuel Pitoiset 305c1959ea drm/nouveau/pm: fix a potential race condition when creating an engine context
There is always the possiblity that the ppm->context pointer would get
partially updated and accidentally would equal ctx. This would allow two
contexts to co-exist, which is not acceptable. Moving the test to the
critical section takes care of this problem.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-07-27 18:56:09 +10:00
..
core drm/nouveau/mmu: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:57 +10:00
engine drm/nouveau/pm: fix a potential race condition when creating an engine context 2015-07-27 18:56:09 +10:00
subdev drm/nouveau/ibus/gk20a: increase SM wait timeout 2015-07-27 18:56:08 +10:00
Kbuild