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

Commit 7c4ab635 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Change __cpuc_flush_kern_all() to flush_cache_all()



The two above mentioned calls both perform the same function of
flushing the entire cache. flush_cache_all() is present on
multiple platforms, so switch to it.

Change-Id: If9996a44620108d09694df004073d6b825a76dc4
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 745417f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2946,7 +2946,7 @@ kgsl_ioctl_gpumem_sync_cache_bulk(struct kgsl_device_private *dev_priv,
	if (full_flush) {
		trace_kgsl_mem_sync_full_cache(actual_count, op_size,
					       param->op);
		__cpuc_flush_kern_all();
		flush_cache_all();
	}

	for (i = 0; i < actual_count; i++) {