summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-10-09 12:03:31 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-10-10 12:10:20 +0200
commit8272170f7da34e2554bed10ab76582094ea6816d (patch)
tree480b492ea5bd1668fead9d998b7db1e6d19010d9 /drivers/gpu/drm/etnaviv
parent4046217954d4e79d57d34c56ce42dec4f87e2ce9 (diff)
downloadlinux-8272170f7da34e2554bed10ab76582094ea6816d.tar.bz2
drm/etnaviv: remove unnecessary clock stabilization delay
There is no reason to wait for clock stabilization here, as the clock framework guarantees that PLL clock sources are stable before clk_enable returns. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index 95ee479c95cb..8197e1d6ed11 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@ -444,9 +444,6 @@ static int etnaviv_hw_reset(struct etnaviv_gpu *gpu)
control = VIVS_HI_CLOCK_CONTROL_FSCALE_VAL(fscale);
etnaviv_gpu_load_clock(gpu, control);
- /* Wait for stable clock. Vivante's code waited for 1ms */
- usleep_range(1000, 10000);
-
/* isolate the GPU. */
control |= VIVS_HI_CLOCK_CONTROL_ISOLATE_GPU;
gpu_write(gpu, VIVS_HI_CLOCK_CONTROL, control);