summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-09-26 11:50:23 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-03 12:14:56 -0400
commitd37a573c4536c153877b201e7b98f5247a16cfed (patch)
treedd9571ff6100ead57589e43aa038b7224f04e420 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent2c59031a195a36bb2986a8fce35ca2f9ce242eff (diff)
gpu: nvgpu: smid programming
Populate chip specific sm id table. JIRA GV11B-21 Change-Id: I58869b2c3e55449a7d999ddf73d6eb7b359b2a07 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1227095 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index d8687a37..ec4597a8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -302,6 +302,7 @@ struct gpu_ops {
302 u32 graphics_preempt_mode, 302 u32 graphics_preempt_mode,
303 u32 compute_preempt_mode); 303 u32 compute_preempt_mode);
304 int (*fuse_override)(struct gk20a *g); 304 int (*fuse_override)(struct gk20a *g);
305 void (*init_sm_id_table)(struct gk20a *g);
305 int (*load_smid_config)(struct gk20a *g); 306 int (*load_smid_config)(struct gk20a *g);
306 void (*program_sm_id_numbering)(struct gk20a *g, 307 void (*program_sm_id_numbering)(struct gk20a *g,
307 u32 gpc, u32 tpc, u32 smid); 308 u32 gpc, u32 tpc, u32 smid);