summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-06-08 19:25:49 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:08 -0400
commitae47fa042c2b7379079d54be13df001911954b9e (patch)
tree870a5d8eb2c506c79c335608a62dad2287ac3371 /drivers/gpu/nvgpu/gk20a
parent6a46965eb3b7b657c089142579ab20d6efefc0fc (diff)
gpu: nvgpu: populate vsm mapping based on nonpes_aware_tpc
For gv1xx, kernel smid configuration programming is done based on nonpes aware tpc. For user space to be in sync with hw populate vsm mapping based on nonpes_aware_tpcs. Bug 200405202 Change-Id: Id89291ca64c2118915dc6f18f62e17f411d467b0 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1744304 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-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 49f2a34a..be8917c7 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -481,6 +481,7 @@ struct gpu_ops {
481 struct channel_gk20a *c); 481 struct channel_gk20a *c);
482 int (*commit_global_ctx_buffers)(struct gk20a *g, 482 int (*commit_global_ctx_buffers)(struct gk20a *g,
483 struct channel_gk20a *c, bool patch); 483 struct channel_gk20a *c, bool patch);
484 u32 (*get_nonpes_aware_tpc)(struct gk20a *g, u32 gpc, u32 tpc);
484 } gr; 485 } gr;
485 struct { 486 struct {
486 void (*init_hw)(struct gk20a *g); 487 void (*init_hw)(struct gk20a *g);