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

Commit 38763e12 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Dump debugbus data in gmu snapshot



Debugbus data can be accessed even if the gx headswitch or
sptprac is off. For example, the gmu cx debugbus data can be
captured to aid in debugging. Debug bus data of rest of the
GPU blocks will show as 0x5c00bd00 if gx headswitch is off.

Change-Id: Ifb5ab5cbd55676b46af571b3c19f52a42e7db806
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
Signed-off-by: default avatarUrvashi Agrawal <urvaagra@codeaurora.org>
parent 40c9e386
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 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
@@ -1474,6 +1474,8 @@ void a6xx_snapshot_gmu(struct adreno_device *adreno_dev,
				a6xx_gmu_gx_registers,
				ARRAY_SIZE(a6xx_gmu_gx_registers) / 2);
	}

	a6xx_snapshot_debugbus(device, snapshot);
}

/* a6xx_snapshot_sqe() - Dump SQE data in snapshot */
@@ -1631,8 +1633,6 @@ void a6xx_snapshot(struct adreno_device *adreno_dev,
		a6xx_snapshot_dbgahb_regs(device, snapshot);
	}

	a6xx_snapshot_debugbus(device, snapshot);

}

static int _a6xx_crashdump_init_mvc(uint64_t *ptr, uint64_t *offset)