]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: hold GPU lock while inserting END command
authorLucas Stach <l.stach@pengutronix.de>
Fri, 17 Nov 2017 16:59:26 +0000 (17:59 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 2 Jan 2018 16:25:11 +0000 (17:25 +0100)
commit78de18251218b70059f9dae40fee2203b84f1437
treec8f769b6e7d7920976a86d1894f321bc36dafaeb
parentf5229a0bfd8b60e1a704e732396a031769bf4cfb
drm/etnaviv: hold GPU lock while inserting END command

Inserting the END command when suspending the GPU is changing the
command buffer state, which requires the GPU to be held.

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