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

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

Merge "msm: kgsl: Correctly update script size for MVC registers"

parents 5d186e6e 639cbe86
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1856,6 +1856,10 @@ void a6xx_crashdump_init(struct adreno_device *adreno_dev)
	for (i = 0; i < ARRAY_SIZE(a6xx_clusters); i++) {
		struct a6xx_cluster_registers *cluster = &a6xx_clusters[i];

		/* 16 bytes if cluster sel exists */
		if (cluster->sel)
			script_size += 16;

		for (j = 0; j < A6XX_NUM_CTXTS; j++) {

			/* 16 bytes for programming the aperture */