]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: fix GPU vs sync point race
authorLucas Stach <l.stach@pengutronix.de>
Thu, 19 Oct 2017 11:48:40 +0000 (13:48 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 2 Jan 2018 16:00:53 +0000 (17:00 +0100)
commit64aaa9d0f3ffab0ee1f2129f6fbc13bbbc4336f7
treee3ed5c14ed2f81a3f5b5c6d7f34e0a3dbc5f9ba0
parent441df88eaa3b7856e701940e479afbfd00704616
drm/etnaviv: fix GPU vs sync point race

If the FE is restarted before the sync point event is cleared, the GPU
might trigger a completion IRQ for the next sync point, corrupting
the state of the currently running worker.

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