]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/etnaviv: remove unnecessary clock stabilization delay
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 9 Oct 2017 10:03:31 +0000 (12:03 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 10 Oct 2017 10:10:20 +0000 (12:10 +0200)
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>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c

index 95ee479c95cb3fe7b4798712077d084864d63f1e..8197e1d6ed112e6fbe5cd328178d523187f7819e 100644 (file)
@@ -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);