gpu: nvgpu: clk: remove unused HAL

The clk HAL disable_slowboot() is not set for any platform and is thus
unused, so remove it

JIRA NVGPU-3980

Change-Id: Idb61ae35e85d35e852f18d22c076a1e16e723e88
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2196421
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2019-09-12 14:19:48 -04:00
committed by Alex Waterman
parent 17d5df6a24
commit b21da03432
3 changed files with 0 additions and 7 deletions

View File

@@ -346,10 +346,6 @@ int nvgpu_finalize_poweron(struct gk20a *g)
#endif
g->ops.bus.init_hw(g);
if (g->ops.clk.disable_slowboot != NULL) {
g->ops.clk.disable_slowboot(g);
}
g->ops.priv_ring.enable_priv_ring(g);
/* TBD: move this after graphics init in which blcg/slcg is enabled.

View File

@@ -1279,7 +1279,6 @@ struct gpu_ops {
} pmu;
struct {
int (*init_debugfs)(struct gk20a *g);
void (*disable_slowboot)(struct gk20a *g);
int (*init_clk_support)(struct gk20a *g);
void (*suspend_clk_support)(struct gk20a *g);
u32 (*get_crystal_clk_hz)(struct gk20a *g);

View File

@@ -376,7 +376,6 @@ static void set_poweron_funcs_success(struct gk20a *g)
/* these don't even return anything */
g->ops.bus.init_hw = no_return;
g->ops.clk.disable_slowboot = no_return;
g->ops.priv_ring.enable_priv_ring = no_return;
g->ops.mc.intr_enable = no_return;
g->ops.channel.resume_all_serviceable_ch = no_return;
@@ -507,7 +506,6 @@ int test_poweron_branches(struct unit_module *m, struct gk20a *g, void *args)
set_poweron_funcs_success(g);
/* hit all the NULL pointer checks */
g->ops.clk.disable_slowboot = NULL;
g->ops.clk.init_clk_support = NULL;
g->ops.fb.init_fbpa = NULL;
g->ops.fb.mem_unlock = NULL;