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

Commit c47dec2c authored by Harsh Vardhan Dwivedi's avatar Harsh Vardhan Dwivedi
Browse files

msm: kgsl: Continue snapshot parsing after an IB2 parsing failure



Continue with IB parsing in snapshot even after failure to parse
an IB2. This ensures that we don't stop parsing an IB simply if we fail
to parse an IB2 correctly. This helps to capture all of relevant
IBs in the event of a hang.

CRs-fixed: 609693
Change-Id: I7eb999cf4a4a51ca06af2c7a3ae6bfb34a5c897b
Signed-off-by: default avatarHarsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
parent 32a565cb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -764,13 +764,12 @@ static int adreno_ib_find_objs(struct kgsl_device *device,
				unsigned int gpuaddrib2 = src[i + 1];
				unsigned int size = src[i + 2];

				ret = adreno_ib_find_objs(
				adreno_ib_find_objs(
						device, ptbase,
						gpuaddrib2, size,
						SNAPSHOT_GPU_OBJECT_IB,
						ib_obj_list);
				if (ret < 0)
					goto done;

			} else {
				ret = ib_parse_type3(device, &src[i], ptbase,
						ib_obj_list,