From a0a081d0654ac4a2e888aa49ed5fc8840768c107 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 8 Mar 2017 16:59:43 -0800 Subject: gpu: nvgpu: Use new kmem API functions (gm206/*) Use the new kmem API functions in gm206/*. Bug 1799159 Bug 1823380 Change-Id: I7117c3153d266f0ac72978e2b54f6d4921d919e5 Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1318310 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gm206/bios_gm206.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gm206') 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 @@ #include #include +#include +#include #include "gk20a/gk20a.h" #include "gm20b/fifo_gm20b.h" #include "bios_gm206.h" -#include - #include #include #include @@ -260,7 +260,7 @@ int gm206_bios_init(struct gk20a *g) } else { gk20a_dbg_info("reading bios from EEPROM"); g->bios.size = BIOS_SIZE; - g->bios.data = vmalloc(BIOS_SIZE); + g->bios.data = nvgpu_vmalloc(g, BIOS_SIZE); if (!g->bios.data) return -ENOMEM; g->ops.xve.disable_shadow_rom(g); -- cgit v1.2.2