drm/etnaviv: remove unnecessary local irq disable
authorLucas Stach <l.stach@pengutronix.de>
Wed, 12 Sep 2018 10:55:42 +0000 (12:55 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 18 Dec 2018 10:55:07 +0000 (11:55 +0100)
commit5a23144cb507bda66b98666e46b8b677df14c2e7
tree084562077895ea202ef706a8d71d8a811a656018
parent99e294492ef9eb7edaf92b1280377abd07f99c40
drm/etnaviv: remove unnecessary local irq disable

The only event function that is called from IRQ context is event_free,
which is already using atomic bitmap operations, so we can avoid taking
the event spinlock in this function completely. As other the other
functions still using the event spinlock are all called from normal
process context, we can avoid disabling IRQs while holding the spinlock.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c