diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_domain.c')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_domain.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_domain.c b/drivers/gpu/nvgpu/clk/clk_domain.c index b53d3708..2a614f55 100644 --- a/drivers/gpu/nvgpu/clk/clk_domain.c +++ b/drivers/gpu/nvgpu/clk/clk_domain.c | |||
@@ -11,14 +11,14 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <nvgpu/bios.h> | ||
15 | |||
14 | #include "gk20a/gk20a.h" | 16 | #include "gk20a/gk20a.h" |
15 | #include "clk.h" | 17 | #include "clk.h" |
16 | #include "clk_fll.h" | 18 | #include "clk_fll.h" |
17 | #include "clk_domain.h" | 19 | #include "clk_domain.h" |
18 | #include "include/bios.h" | ||
19 | #include "boardobj/boardobjgrp.h" | 20 | #include "boardobj/boardobjgrp.h" |
20 | #include "boardobj/boardobjgrp_e32.h" | 21 | #include "boardobj/boardobjgrp_e32.h" |
21 | #include "gm206/bios_gm206.h" | ||
22 | #include "ctrl/ctrlclk.h" | 22 | #include "ctrl/ctrlclk.h" |
23 | #include "ctrl/ctrlvolt.h" | 23 | #include "ctrl/ctrlvolt.h" |
24 | #include "gk20a/pmu_gk20a.h" | 24 | #include "gk20a/pmu_gk20a.h" |
@@ -261,10 +261,7 @@ static u32 devinit_get_clocks_table(struct gk20a *g, | |||
261 | 261 | ||
262 | gk20a_dbg_info(""); | 262 | gk20a_dbg_info(""); |
263 | 263 | ||
264 | if (!g->ops.bios.get_perf_table_ptrs) | 264 | clocks_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, |
265 | return -EINVAL; | ||
266 | |||
267 | clocks_table_ptr = (u8 *)g->ops.bios.get_perf_table_ptrs(g, | ||
268 | g->bios.clock_token, CLOCKS_TABLE); | 265 | g->bios.clock_token, CLOCKS_TABLE); |
269 | if (clocks_table_ptr == NULL) { | 266 | if (clocks_table_ptr == NULL) { |
270 | status = -EINVAL; | 267 | status = -EINVAL; |