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

Commit 49df5cbf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Correctly change the pagefault policy via sysfs"

parents f58ed86e 324ef8b5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1476,8 +1476,7 @@ static ssize_t _ft_pagefault_policy_store(struct device *dev,
			KGSL_FT_PAGEFAULT_GPUHALT_ENABLE |
			KGSL_FT_PAGEFAULT_LOG_ONE_PER_PAGE |
			KGSL_FT_PAGEFAULT_LOG_ONE_PER_INT);
	ret = kgsl_mmu_set_pagefault_policy(&(adreno_dev->dev.mmu),
			adreno_dev->ft_pf_policy);
	ret = kgsl_mmu_set_pagefault_policy(&(adreno_dev->dev.mmu), policy);
	if (!ret)
		adreno_dev->ft_pf_policy = policy;