diff options
-rw-r--r-- | drivers/gpu/nvgpu/gm206/bios_gm206.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.c b/drivers/gpu/nvgpu/gm206/bios_gm206.c index 6e20e23a..3993691a 100644 --- a/drivers/gpu/nvgpu/gm206/bios_gm206.c +++ b/drivers/gpu/nvgpu/gm206/bios_gm206.c | |||
@@ -17,13 +17,13 @@ | |||
17 | #include <linux/pci.h> | 17 | #include <linux/pci.h> |
18 | 18 | ||
19 | #include <nvgpu/bios.h> | 19 | #include <nvgpu/bios.h> |
20 | #include <nvgpu/kmem.h> | ||
21 | #include <nvgpu/nvgpu_common.h> | ||
20 | 22 | ||
21 | #include "gk20a/gk20a.h" | 23 | #include "gk20a/gk20a.h" |
22 | #include "gm20b/fifo_gm20b.h" | 24 | #include "gm20b/fifo_gm20b.h" |
23 | #include "bios_gm206.h" | 25 | #include "bios_gm206.h" |
24 | 26 | ||
25 | #include <nvgpu/nvgpu_common.h> | ||
26 | |||
27 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> | 27 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> |
28 | #include <nvgpu/hw/gm206/hw_mc_gm206.h> | 28 | #include <nvgpu/hw/gm206/hw_mc_gm206.h> |
29 | #include <nvgpu/hw/gm206/hw_top_gm206.h> | 29 | #include <nvgpu/hw/gm206/hw_top_gm206.h> |
@@ -260,7 +260,7 @@ int gm206_bios_init(struct gk20a *g) | |||
260 | } else { | 260 | } else { |
261 | gk20a_dbg_info("reading bios from EEPROM"); | 261 | gk20a_dbg_info("reading bios from EEPROM"); |
262 | g->bios.size = BIOS_SIZE; | 262 | g->bios.size = BIOS_SIZE; |
263 | g->bios.data = vmalloc(BIOS_SIZE); | 263 | g->bios.data = nvgpu_vmalloc(g, BIOS_SIZE); |
264 | if (!g->bios.data) | 264 | if (!g->bios.data) |
265 | return -ENOMEM; | 265 | return -ENOMEM; |
266 | g->ops.xve.disable_shadow_rom(g); | 266 | g->ops.xve.disable_shadow_rom(g); |