diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index c2daf27e..0206c915 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -68,7 +68,7 @@ void __gk20a_warn_on_no_regs(void) | |||
68 | WARN_ONCE(1, "Attempted access to GPU regs after unmapping!"); | 68 | WARN_ONCE(1, "Attempted access to GPU regs after unmapping!"); |
69 | } | 69 | } |
70 | 70 | ||
71 | static int gk20a_detect_chip(struct gk20a *g) | 71 | int gk20a_detect_chip(struct gk20a *g) |
72 | { | 72 | { |
73 | struct nvgpu_gpu_params *p = &g->params; | 73 | struct nvgpu_gpu_params *p = &g->params; |
74 | 74 | ||
@@ -131,10 +131,6 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
131 | 131 | ||
132 | g->power_on = true; | 132 | g->power_on = true; |
133 | 133 | ||
134 | err = gk20a_detect_chip(g); | ||
135 | if (err) | ||
136 | goto done; | ||
137 | |||
138 | /* | 134 | /* |
139 | * Before probing the GPU make sure the GPU's state is cleared. This is | 135 | * Before probing the GPU make sure the GPU's state is cleared. This is |
140 | * relevant for rebind operations. | 136 | * relevant for rebind operations. |