mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Revert "gpu: nvgpu: Skip reg read of gpc2clk"
This reverts commit 259842f9d222dd2ca2e66bddaceef4a2fd626bc7. The commit clears some init values that are never restored. Change-Id: I4efee115863cbfb08b2e280a58b525cb49adc0b6 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/732428
This commit is contained in:
committed by
Ishan Mittal
parent
e88a606932
commit
eed15a6bb7
@@ -26,14 +26,12 @@
|
||||
|
||||
void gk20a_reset_priv_ring(struct gk20a *g)
|
||||
{
|
||||
u32 data = 0;
|
||||
u32 data;
|
||||
|
||||
if (tegra_platform_is_linsim())
|
||||
return;
|
||||
|
||||
/* Skipping read and then writeback to this reg, as we are just getting
|
||||
* out of reset, and before this call, the reg is not written to*/
|
||||
|
||||
data = gk20a_readl(g, trim_sys_gpc2clk_out_r());
|
||||
data = set_field(data,
|
||||
trim_sys_gpc2clk_out_bypdiv_m(),
|
||||
trim_sys_gpc2clk_out_bypdiv_f(0));
|
||||
|
||||
Reference in New Issue
Block a user