Merge "msm: kgsl: Don't access addr_mode_cntl registers for holi through host"

This commit is contained in:
qctecmdr 2020-12-08 09:27:14 -08:00 • committed by Gerrit - the friendly Code Review server
commit cb7b0f1e7f

View file

@ -304,10 +304,6 @@ static const unsigned int a660_registers[] = {
0x0B00, 0x0B40, 0x0B80, 0x0B83,
};
static const unsigned int a619_holi_registers[] = {
/* HLSQ, SP, TPL1 */
0xAE00, 0xAE01, 0xBE04, 0xBE05, 0xB600, 0xB601,
};
/*
* Set of registers to dump for A6XX before actually triggering crash dumper.
* Registers in pairs - first value is the start offset, second
@ -1837,12 +1833,6 @@ void a6xx_snapshot(struct adreno_device *adreno_dev,
snapshot, a6xx_snapshot_registers, &a6xx_reg_list[i]);
}
if (adreno_is_a619_holi(adreno_dev) && !crash_dump_valid) {
adreno_snapshot_registers(device, snapshot,
a619_holi_registers,
ARRAY_SIZE(a619_holi_registers) / 2);
}
/* CP_SQE indexed registers */
kgsl_snapshot_indexed_registers(device, snapshot,
A6XX_CP_SQE_STAT_ADDR, A6XX_CP_SQE_STAT_DATA, 0, 0x33);