drm/etnaviv: move submit free out of critical section
authorLucas Stach <l.stach@pengutronix.de>
Wed, 29 Nov 2017 13:33:57 +0000 (14:33 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 2 Jan 2018 16:36:28 +0000 (17:36 +0100)
commit2e3a2dda2515cc85b8600e3d8a20d1d4a9100ebd
tree991ac33ab8658da1fce0e3b52b716d47aa28f395
parenta7cfa565d48ff08f7df95d59c963ce1381526c30
drm/etnaviv: move submit free out of critical section

There is no need to hold the GPU lock while freeing the submit
object. Only move the retired submits from the GPU active list to
a temporary retire list under the GPU lock.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c