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

Commit 09827569 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Fix preemption perfcounter block math



Fix the calculation for the address of the memory to save and restore
preempted performance counters - make sure there is enough room for
the entire block for each ringbuffer.  In the process, optimize the
preemption initalization sequence - move the IOMMU check to the A5XX
specific code, and only set the preemption enabled bit after everything
successfully initializes.

Change-Id: Ic0dedbad398786f07da87430ea1f0c44e09a77ea
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent dec3acb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment