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

Commit e14cddac authored by Sharat Masetty's avatar Sharat Masetty
Browse files

msm: kgsl: Enable LLC_NWA for A620 gpu



This attribute needs to be defined for all gpu domains
and all pagetable entries.

Change-Id: I10870af885709536dd8a1bdbd94b6988e6b846cd
Signed-off-by: default avatarSharat Masetty <smasetty@codeaurora.org>
parent 84606f73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1176,7 +1176,7 @@ void _enable_gpuhtw_llc(struct kgsl_mmu *mmu, struct kgsl_iommu_pt *iommu_pt)
		return;

	/* Domain attribute to enable system cache for GPU pagetable walks */
	if (adreno_is_a650(adreno_dev) || adreno_is_a640(adreno_dev) ||
	if (adreno_is_a650_family(adreno_dev) || adreno_is_a640(adreno_dev) ||
		adreno_is_a612(adreno_dev))
		ret = iommu_domain_set_attr(iommu_pt->domain,
			DOMAIN_ATTR_USE_LLC_NWA, &gpuhtw_llc_enable);