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

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

Merge "msm: kgsl: Check for gmu prealloc failure only in case of prealloc request"

parents 21a0aa17 bda766cd
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1538,12 +1538,13 @@ int a6xx_gmu_parse_fw(struct adreno_device *adreno_dev)
		offset += sizeof(*blk);

		if (blk->type == GMU_BLK_TYPE_PREALLOC_REQ ||
				blk->type == GMU_BLK_TYPE_PREALLOC_PERSIST_REQ)
				blk->type == GMU_BLK_TYPE_PREALLOC_PERSIST_REQ) {
			ret = a6xx_gmu_process_prealloc(gmu, blk);

			if (ret)
				return ret;
		}
	}

	return 0;
}