summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-01-20 19:13:02 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-27 15:23:01 -0500
commit88ce7a98c8321747154020c4f173cfe05a3b1149 (patch)
treeafb1007b673f10de589e47670a8626dc7c44d694 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentfa3f8cc10186ab18952433f1838fb657f220adc5 (diff)
gpu: nvgpu: update zcull and pm context pointers
Update zcull and perfmon buffer pointers in context header through function pointers. JIRA GV11B-48 Change-Id: Iaa6dd065128cb0c39e308cecf17b9d68a826d865 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1291850 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index ff354bc8..f7ceaced 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -333,6 +333,10 @@ struct gpu_ops {
333 struct channel_gk20a *c, bool patch); 333 struct channel_gk20a *c, bool patch);
334 int (*commit_inst)(struct channel_gk20a *c, u64 gpu_va); 334 int (*commit_inst)(struct channel_gk20a *c, u64 gpu_va);
335 void (*restore_context_header)(struct gk20a *g, struct mem_desc *ctxheader); 335 void (*restore_context_header)(struct gk20a *g, struct mem_desc *ctxheader);
336 void (*write_zcull_ptr)(struct gk20a *g,
337 struct mem_desc *mem, u64 gpu_va);
338 void (*write_pm_ptr)(struct gk20a *g,
339 struct mem_desc *mem, u64 gpu_va);
336 } gr; 340 } gr;
337 const char *name; 341 const char *name;
338 struct { 342 struct {