summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
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/gm20b/hal_gm20b.c
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/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 0aac68ff..82e8826e 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -445,6 +445,7 @@ static const struct gpu_ops gm20b_ops = {
445 .channel_suspend = gk20a_channel_suspend, 445 .channel_suspend = gk20a_channel_suspend,
446 .channel_resume = gk20a_channel_resume, 446 .channel_resume = gk20a_channel_resume,
447 .set_error_notifier = nvgpu_set_error_notifier, 447 .set_error_notifier = nvgpu_set_error_notifier,
448 .setup_sw = gk20a_init_fifo_setup_sw,
448#ifdef CONFIG_TEGRA_GK20A_NVHOST 449#ifdef CONFIG_TEGRA_GK20A_NVHOST
449 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, 450 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf,
450 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, 451 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf,