summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2018-10-08 14:24:13 -0400
committerRob Clark <robdclark@gmail.com>2018-10-08 20:16:00 -0400
commit0f5427219bdf3e3d0ba94e4fbefe623a57616825 (patch)
treee25af77be6ca5ae9dc053e473d94e14f15cc8725 /drivers/gpu/drm/msm/adreno/a5xx_gpu.c
parent3ce36b4542b585ed0231b175aee31020b2f289c2 (diff)
downloadlinux-0f5427219bdf3e3d0ba94e4fbefe623a57616825.tar.bz2
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: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a5xx_gpu.c')
-rw-r--r--drivers/gpu/drm/msm/adreno/a5xx_gpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
index eabe9252ae1e..48b5304f460c 100644
--- a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
@@ -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,
REG_A5XX_RBBM_PERFCTR_RBBM_0_HI);
- busy_time = (busy_cycles - gpu->devfreq.busy_cycles);
- do_div(busy_time, (clk_get_rate(gpu->core_clk) / 1000000));
+ busy_time = busy_cycles - gpu->devfreq.busy_cycles;
+ do_div(busy_time, clk_get_rate(gpu->core_clk) / 1000000);
gpu->devfreq.busy_cycles = busy_cycles;