summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-05-18 17:15:45 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-29 15:23:21 -0400
commitda02ea50f0704ad0836177c315c9ff87288f0969 (patch)
tree39e2e46cd44920c5b5212fb34e60598a82cfb8a3 /drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
parent1f78355c5c909e2f678a60420c0abd8ec5adbc98 (diff)
gpu: nvgpu: gv11b: Don't set net name for pri-silicon
In pri-silicon environment netlist names keep on changing. So to keep software backward compatible. do not set net name. So driver will check available firmwares and will pick-up the firmware that matches with current hw netlist major revision. Change-Id: I6083879fb67481be03bad1eaf6a10d0cb6eb7c09 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1485135 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
index e889e9ab..0a046eb4 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV11B Graphics Context 2 * GV11B Graphics Context
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016 - 2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -21,8 +21,10 @@
21#include "gk20a/gr_ctx_gk20a.h" 21#include "gk20a/gr_ctx_gk20a.h"
22 22
23/* production netlist, one and only one from below */ 23/* production netlist, one and only one from below */
24#define GV11B_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_A 24/*
25 25 * Define netlist for silicon only
26 * #define GV11B_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_A
27*/
26void gv11b_init_gr_ctx(struct gpu_ops *gops); 28void gv11b_init_gr_ctx(struct gpu_ops *gops);
27 29
28#endif /*__GR_CTX_GV11B_H__*/ 30#endif /*__GR_CTX_GV11B_H__*/