summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-04 17:54:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-14 11:11:19 -0400
commit1029136eaa1c7c1cb9a9c8413af439fd741dc232 (patch)
treef01ccf9e665f28759a8b9596ec24249b172729b6 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent8728da1c6e76566ebc4717399d1f247200125595 (diff)
gpu: nvgpu: program sw veid bundles
Query sw veid bundles from sim/netlist and initialize hardware with those bundles. JIRA GV11B-11 Change-Id: I26f174781f0b00b919afac407e2bb9e1fa7b158a Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1231597 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 6959b86a..a76798d1 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -97,6 +97,7 @@ enum nvgpu_litter_value {
97 GPU_LIT_NUM_PES_PER_GPC, 97 GPU_LIT_NUM_PES_PER_GPC,
98 GPU_LIT_NUM_ZCULL_BANKS, 98 GPU_LIT_NUM_ZCULL_BANKS,
99 GPU_LIT_NUM_TPC_PER_GPC, 99 GPU_LIT_NUM_TPC_PER_GPC,
100 GPU_LIT_NUM_SM_PER_TPC,
100 GPU_LIT_NUM_FBPS, 101 GPU_LIT_NUM_FBPS,
101 GPU_LIT_GPC_BASE, 102 GPU_LIT_GPC_BASE,
102 GPU_LIT_GPC_STRIDE, 103 GPU_LIT_GPC_STRIDE,
@@ -303,6 +304,7 @@ struct gpu_ops {
303 u32 gpc, u32 tpc, u32 smid); 304 u32 gpc, u32 tpc, u32 smid);
304 void (*program_active_tpc_counts)(struct gk20a *g, u32 gpc); 305 void (*program_active_tpc_counts)(struct gk20a *g, u32 gpc);
305 int (*setup_rop_mapping)(struct gk20a *g, struct gr_gk20a *gr); 306 int (*setup_rop_mapping)(struct gk20a *g, struct gr_gk20a *gr);
307 int (*init_sw_veid_bundle)(struct gk20a *g);
306 } gr; 308 } gr;
307 const char *name; 309 const char *name;
308 struct { 310 struct {