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

Commit 0f542721 authored by Sean Paul's avatar Sean Paul Committed by Rob Clark
Browse files

drm/msm: a5xx: Remove unneeded parens

A small fixup I posted with my v2 patch [1] that was dropped.

[1]- https://lists.freedesktop.org/archives/freedreno/2018-October/003647.html



Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 3ce36b45
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1443,8 +1443,8 @@ static unsigned long a5xx_gpu_busy(struct msm_gpu *gpu)
	busy_cycles = gpu_read64(gpu, REG_A5XX_RBBM_PERFCTR_RBBM_0_LO,
	busy_cycles = gpu_read64(gpu, REG_A5XX_RBBM_PERFCTR_RBBM_0_LO,
			REG_A5XX_RBBM_PERFCTR_RBBM_0_HI);
			REG_A5XX_RBBM_PERFCTR_RBBM_0_HI);


	busy_time = (busy_cycles - gpu->devfreq.busy_cycles);
	busy_time = busy_cycles - gpu->devfreq.busy_cycles;
	do_div(busy_time, (clk_get_rate(gpu->core_clk) / 1000000));
	do_div(busy_time, clk_get_rate(gpu->core_clk) / 1000000);


	gpu->devfreq.busy_cycles = busy_cycles;
	gpu->devfreq.busy_cycles = busy_cycles;