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

Commit 82bb9cb4 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Enable LLC_NWA for kona gpu



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

Change-Id: I9028b1ee0ffefa5af794669a98807ace6c973127
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 99080dfb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1176,7 +1176,8 @@ 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_a640(adreno_dev) || adreno_is_a612(adreno_dev))
	if (adreno_is_a650(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);
	else