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

Commit 8187a8a8 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: kgsl: Increment the map statistics



Increase the number of entries mapped to a pagetable when a
map occurs. This statistic is displayed when a mapping error
occurs and is useful for debug.

Change-Id: Icff5975755555d599a056cea0694be608b26fa08
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 5d2fc27d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -665,6 +665,7 @@ kgsl_mmu_map(struct kgsl_pagetable *pagetable,

	KGSL_STATS_ADD(size, pagetable->stats.mapped,
		       pagetable->stats.max_mapped);
	pagetable->stats.entries++;

	spin_unlock(&pagetable->lock);
	memdesc->priv |= KGSL_MEMDESC_MAPPED;