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

Commit 4d9484ac authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Avoid duplicate entries in snapshot



GMU related registers and debug bus blocks are duplicated in the
gpu snapshot. Fix this by avoiding the duplicate dump in
kgsl_device_snapshot(). a6xx_snapshot internally calls
a6xx_snapshot_gmu to dump GMU state. Don't invoke a6xx_snapshot_gmu
explicitly after a6xx_snapshot to avoid duplicate entries in
snapshot.

Change-Id: I03453f6ca1f4d706d9a6fe45d2e3be9954dd3db0
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent 709e9085
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -719,8 +719,6 @@ void kgsl_device_snapshot(struct kgsl_device *device,

		if (device->ftbl->snapshot)
			device->ftbl->snapshot(device, snapshot, context);
		if (device->ftbl->snapshot_gmu)
			device->ftbl->snapshot_gmu(device, snapshot);
	}

	/*