summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-06-17 04:38:07 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-06-21 18:20:49 -0400
commit10b75f9cdd2184e9728b7d38dd037330d1c20704 (patch)
tree4a601a0689b078faf7da747a353a287dc072a529 /drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
parent601a5f8ed22154cb93ecb8865cbcfdeb32e3292b (diff)
gpu: nvgpu: update get_netlist_name ops declaration
-update get_netlist_name ops declaration to support to load GPU FW based on GPU-ARCH -"GAxxx" string used to get size for "gm204/" or "gm206/" which will added to NETIMAGE path like "gm204/NETC_img.bin" Change-Id: I5bfa13df014533a885c4328d3c767e51c29f9255 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1166783 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
index 01cc1f16..e22acbe3 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
@@ -22,7 +22,7 @@
22#include "gk20a/gk20a.h" 22#include "gk20a/gk20a.h"
23#include "gr_ctx_gm20b.h" 23#include "gr_ctx_gm20b.h"
24 24
25static int gr_gm20b_get_netlist_name(int index, char *name) 25static int gr_gm20b_get_netlist_name(struct gk20a *g, int index, char *name)
26{ 26{
27 switch (index) { 27 switch (index) {
28#ifdef GM20B_NETLIST_IMAGE_FW_NAME 28#ifdef GM20B_NETLIST_IMAGE_FW_NAME