drm/nouveau/tmr: ack interrupt before processing alarms
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 May 2017 06:53:42 +0000 (16:53 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 11 May 2017 22:32:57 +0000 (08:32 +1000)
commit3733bd8b407211739e72d051e5f30ad82a52c4bc
tree24746d3f59ec93224dec605bc9f4b4f6619c5714
parent89ed10a5721d569b053a8355c1a6bd812fed7c29
drm/nouveau/tmr: ack interrupt before processing alarms

Fixes a race where we can miss an alarm that triggers while we're already
processing previous alarms.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c