summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-08 20:06:47 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-30 15:36:04 -0400
commit7010bf88399ea81b2b35844f738baac19dc5a441 (patch)
tree476a43b94402d702f20c4336dec98009d23a2afa /drivers/gpu/nvgpu/gm20b
parentbc92e2fb972e039ee33c1f1477204a4d145a8b96 (diff)
gpu: nvgpu: Use new kmem API functions (gk20a mm)
Use the new kmem API functions in gk20a's mm code. Add a struct gk20a pointer to the dmabuf priv struct so that the cleanup function has access to the gk20a struct. Also add a gk20a pointer to some of the sg table functions so that they can use the nvgpu kmem APIs. Bug 1799159 Bug 1823380 Change-Id: I85a307c6bf862627c5b1af0e077283b48d78fa72 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1318321 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index db8ef919..360cfc33 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -456,7 +456,7 @@ int prepare_ucode_blob(struct gk20a *g)
456 gm20b_dbg_pmu("prepare ucode blob return 0\n"); 456 gm20b_dbg_pmu("prepare ucode blob return 0\n");
457 free_acr_resources(g, plsfm); 457 free_acr_resources(g, plsfm);
458 free_sgt: 458 free_sgt:
459 gk20a_free_sgtable(&sgt); 459 gk20a_free_sgtable(g, &sgt);
460 return err; 460 return err;
461} 461}
462 462