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

Commit 7557a8e8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Fix the missing IBs from the snapshot"

parents 75355b99 e54678dc
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -400,6 +400,8 @@ static void snapshot_rb_ibs(struct kgsl_device *device,
				ibsize = rbptr[index + 3];
			}

			index = (index + 1) % KGSL_RB_DWORDS;

			/* Don't parse known global IBs */
			if (iommu_is_setstate_addr(device, ibaddr, ibsize))
				continue;
@@ -410,8 +412,7 @@ static void snapshot_rb_ibs(struct kgsl_device *device,

			parse_ib(device, snapshot, snapshot->process,
				ibaddr, ibsize);
		}

		} else
			index = (index + 1) % KGSL_RB_DWORDS;
	}