summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.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/vgpu/gv11b/vgpu_hal_gv11b.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/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index 32edbd21..cfbdbbad 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -394,6 +394,7 @@ static const struct gpu_ops vgpu_gv11b_ops = {
394 .channel_suspend = gk20a_channel_suspend, 394 .channel_suspend = gk20a_channel_suspend,
395 .channel_resume = gk20a_channel_resume, 395 .channel_resume = gk20a_channel_resume,
396 .set_error_notifier = nvgpu_set_error_notifier, 396 .set_error_notifier = nvgpu_set_error_notifier,
397 .setup_sw = gk20a_init_fifo_setup_sw,
397#ifdef CONFIG_TEGRA_GK20A_NVHOST 398#ifdef CONFIG_TEGRA_GK20A_NVHOST
398 .alloc_syncpt_buf = vgpu_gv11b_fifo_alloc_syncpt_buf, 399 .alloc_syncpt_buf = vgpu_gv11b_fifo_alloc_syncpt_buf,
399 .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, 400 .free_syncpt_buf = gv11b_fifo_free_syncpt_buf,