drm/nouveau/core: Move event index check from critical section
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 27 Aug 2013 20:12:55 +0000 (16:12 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:36:03 +0000 (15:36 +1000)
commit019255797db627f729edbf3885ea4e248a75e0d5
tree4de2dc36979b80daffc4f09f16aac4a10b174f9a
parenta25f83ba898797e50de200065ba91cb0115e0d57
drm/nouveau/core: Move event index check from critical section

The index_nr field is constant for the lifetime of the event, so
serialized access is unnecessary.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/core/event.c