diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c index f5aa3f0f..d11cff06 100644 --- a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | |||
@@ -26,14 +26,12 @@ | |||
26 | 26 | ||
27 | void gk20a_reset_priv_ring(struct gk20a *g) | 27 | void gk20a_reset_priv_ring(struct gk20a *g) |
28 | { | 28 | { |
29 | u32 data = 0; | 29 | u32 data; |
30 | 30 | ||
31 | if (tegra_platform_is_linsim()) | 31 | if (tegra_platform_is_linsim()) |
32 | return; | 32 | return; |
33 | 33 | ||
34 | /* Skipping read and then writeback to this reg, as we are just getting | 34 | data = gk20a_readl(g, trim_sys_gpc2clk_out_r()); |
35 | * out of reset, and before this call, the reg is not written to*/ | ||
36 | |||
37 | data = set_field(data, | 35 | data = set_field(data, |
38 | trim_sys_gpc2clk_out_bypdiv_m(), | 36 | trim_sys_gpc2clk_out_bypdiv_m(), |
39 | trim_sys_gpc2clk_out_bypdiv_f(0)); | 37 | trim_sys_gpc2clk_out_bypdiv_f(0)); |