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

Commit cb7b0f1e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents e71fa8be d9b978c0
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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);