From 1029136eaa1c7c1cb9a9c8413af439fd741dc232 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Tue, 4 Oct 2016 14:54:16 -0700 Subject: 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 Reviewed-on: http://git-master/r/1231597 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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 { GPU_LIT_NUM_PES_PER_GPC, GPU_LIT_NUM_ZCULL_BANKS, GPU_LIT_NUM_TPC_PER_GPC, + GPU_LIT_NUM_SM_PER_TPC, GPU_LIT_NUM_FBPS, GPU_LIT_GPC_BASE, GPU_LIT_GPC_STRIDE, @@ -303,6 +304,7 @@ struct gpu_ops { u32 gpc, u32 tpc, u32 smid); void (*program_active_tpc_counts)(struct gk20a *g, u32 gpc); int (*setup_rop_mapping)(struct gk20a *g, struct gr_gk20a *gr); + int (*init_sw_veid_bundle)(struct gk20a *g); } gr; const char *name; struct { -- cgit v1.2.2