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>
This commit is contained in:
Mahantesh Kumbar
2016-06-17 14:08:07 +05:30
committed by Terje Bergstrom
parent 601a5f8ed2
commit 10b75f9cdd
4 changed files with 16 additions and 5 deletions

View File

@@ -449,7 +449,7 @@ struct gpu_ops {
u8 value);
} pmu_ver;
struct {
int (*get_netlist_name)(int index, char *name);
int (*get_netlist_name)(struct gk20a *g, int index, char *name);
bool (*is_fw_defined)(void);
bool use_dma_for_fw_bootstrap;
} gr_ctx;