drm/nouveau/tmr: ack interrupt before processing alarms
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 May 2017 06:53:42 +0000 (16:53 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:44:36 +0000 (15:44 +0200)
commit16e10490d260493cec30c5e7adacf99ba304d8b9
tree1e0abd4715bec97f1508b140db41860b7e1268c1
parente8ee630591963610dd1b5ed9fdfb730c791bd52b
drm/nouveau/tmr: ack interrupt before processing alarms

commit 3733bd8b407211739e72d051e5f30ad82a52c4bc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c