msm: kgsl: Align busy times with the end times of samples

Make sure that the busy times are calculated at the end of the
current sample and before the next sample starts. This prevents
false alarms of busy timer events being triggered. Applies only
to devices with idlestats power policy.

Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
(cherry picked from commit 4018a9b5281e1c8bc41c3d54ff8d6d7c866434d0)

Change-Id: I5be7729eedca1e698cbb822342175e2b08b154b1
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
1 file changed