summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSourab Gupta <sourabg@nvidia.com>2018-02-20 05:37:43 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 21:54:38 -0400
commit0b2ea2924bd0122e0eaa286b4dbcfc9fe96ebe20 (patch)
treee5c7daebf3254032c8d1d645dfd4e3fc24e5ef55 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent8d8ff9d34e9707e9306fcf40b5ffcfa0d826765a (diff)
gpu: nvgpu: add gops.fifo.setup_sw
bar1/userd setup is different for RM server. created common function gk20a_init_fifo_setup_sw_common. Jira VQRM-3058 Change-Id: I655b54e21ed5f15dcb8e7b01bd9cd129b35ae7a3 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1665691 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.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 e8cfaf13..b5ebb9ba 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -532,6 +532,7 @@ struct gpu_ops {
532 void (*post_events)(struct channel_gk20a *ch); 532 void (*post_events)(struct channel_gk20a *ch);
533 } debugger; 533 } debugger;
534 struct { 534 struct {
535 int (*setup_sw)(struct gk20a *g);
535 int (*init_fifo_setup_hw)(struct gk20a *g); 536 int (*init_fifo_setup_hw)(struct gk20a *g);
536 void (*bind_channel)(struct channel_gk20a *ch_gk20a); 537 void (*bind_channel)(struct channel_gk20a *ch_gk20a);
537 void (*unbind_channel)(struct channel_gk20a *ch_gk20a); 538 void (*unbind_channel)(struct channel_gk20a *ch_gk20a);