msm: kgsl: Call pwrscale busy only when the GPU is definitely busy.

Original call placement could happen without actually starting
the GPU's workload.

Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
diff --git a/drivers/gpu/msm/adreno_ringbuffer.c b/drivers/gpu/msm/adreno_ringbuffer.c
index f24b7fd..4eb3bdd0 100644
--- a/drivers/gpu/msm/adreno_ringbuffer.c
+++ b/drivers/gpu/msm/adreno_ringbuffer.c
@@ -49,6 +49,10 @@
 {
 	BUG_ON(rb->wptr == 0);
 
+	/* Let the pwrscale policy know that new commands have
+	 been submitted. */
+	kgsl_pwrscale_busy(rb->device);
+
 	/*synchronize memory before informing the hardware of the
 	 *new commands.
 	 */
diff --git a/drivers/gpu/msm/kgsl.c b/drivers/gpu/msm/kgsl.c
index 394c037..a316d3e 100644
--- a/drivers/gpu/msm/kgsl.c
+++ b/drivers/gpu/msm/kgsl.c
@@ -895,11 +895,6 @@
 		goto free_ibdesc;
 	}
 
-	/* Let the pwrscale policy know that a new command buffer
-	   is being issued */
-
-	kgsl_pwrscale_busy(dev_priv->device);
-
 	result = dev_priv->device->ftbl->issueibcmds(dev_priv,
 					     context,
 					     ibdesc,