]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89ca052686b627adaa33e30734949b2cd3340da2
tree084562077895ea202ef706a8d71d8a811a656018
parent3aa35d70f5fd2bcced163f31b5d3d9016a393f2e
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