msm: kgsl: Fix range checking for profile wrapping
There is a chance that the profile code will not wrap correctly.
This can cause the in stream profiling to cause buffer pre-run
or undershoot (accessing data before the buffer). Fix logic to
cause the correct wrapping.
Change-Id: I9aa68228ff5be1bd26ee1cf1a486859346a8027f
CRs-Fixed: 585754
Signed-off-by:
Carter Cooper <ccooper@codeaurora.org>
Loading
Please register or sign in to comment