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

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

Merge "msm: kgsl: Override UBWC configuration for A660 based on DDR type"

parents 4367382e dfdd7d28
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -107,7 +107,9 @@ static int a6xx_init(struct adreno_device *adreno_dev)

	adreno_dev->highest_bank_bit = a6xx_core->highest_bank_bit;

	if (adreno_is_a650(adreno_dev) && of_fdt_get_ddrtype() == 0x7)
	/* If the memory type is DDR 4, override the existing configuration */
	if ((adreno_is_a650(adreno_dev) || adreno_is_a660(adreno_dev)) &&
		of_fdt_get_ddrtype() == 0x7)
		adreno_dev->highest_bank_bit = 15;

	a6xx_crashdump_init(adreno_dev);