Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a819aea authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Signal dump_gate only when worker finishes work"

parents d101a96a d9637952
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/of.h>
@@ -1329,7 +1329,7 @@ static void kgsl_snapshot_save_frozen_objs(struct work_struct *work)
				snapshot->ib2base);

gmu_only:
	complete_all(&snapshot->dump_gate);
	BUG_ON(!snapshot->device->skip_ib_capture &
				snapshot->device->force_panic);
	complete_all(&snapshot->dump_gate);
}