diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2018-02-20 05:37:43 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-29 21:54:38 -0400 |
commit | 0b2ea2924bd0122e0eaa286b4dbcfc9fe96ebe20 (patch) | |
tree | e5c7daebf3254032c8d1d645dfd4e3fc24e5ef55 /drivers/gpu/nvgpu/gp10b | |
parent | 8d8ff9d34e9707e9306fcf40b5ffcfa0d826765a (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/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 78633e9b..a03ad28a 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -477,6 +477,7 @@ static const struct gpu_ops gp10b_ops = { | |||
477 | .channel_suspend = gk20a_channel_suspend, | 477 | .channel_suspend = gk20a_channel_suspend, |
478 | .channel_resume = gk20a_channel_resume, | 478 | .channel_resume = gk20a_channel_resume, |
479 | .set_error_notifier = nvgpu_set_error_notifier, | 479 | .set_error_notifier = nvgpu_set_error_notifier, |
480 | .setup_sw = gk20a_init_fifo_setup_sw, | ||
480 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 481 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
481 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, | 482 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, |
482 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, | 483 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, |