msm: kgsl: Use the first command to initiate busy
There may be multiple command submissions per-frame. Start your
busy count only on the first one.
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
diff --git a/drivers/gpu/msm/kgsl_pwrscale.h b/drivers/gpu/msm/kgsl_pwrscale.h
index 6904608..2046f78 100644
--- a/drivers/gpu/msm/kgsl_pwrscale.h
+++ b/drivers/gpu/msm/kgsl_pwrscale.h
@@ -36,6 +36,7 @@
struct kgsl_pwrscale_policy *policy;
struct kobject kobj;
void *priv;
+ int gpu_busy;
};
struct kgsl_pwrscale_policy_attribute {