drm/etnaviv: free events the usual way in recover worker
authorLucas Stach <l.stach@pengutronix.de>
Wed, 7 Jun 2023 13:02:17 +0000 (15:02 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 17 Jul 2023 09:32:10 +0000 (11:32 +0200)
commit80f6b63e729fbda4ea9cce86cc317f69b8ba2ede
treee95be55b41e99a396be3f0f2302862c65ae87f1a
parent5cefcf9f2fea06ea09b6185f4288357570eec3d4
drm/etnaviv: free events the usual way in recover worker

Clearing the whole bitmap at once is only a minor optimization in
a path that should be extremely cold. Free the events by calling
event_free() instead of directly manipulating the completion count
and event bitmap.

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