diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-05-24 15:31:57 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:07 -0400 |
commit | ed65f1f26e2d0ca4a491215297b61d25b0c1493b (patch) | |
tree | ad4ce439a0f77fe89f9138e6f4284aeaa996b4c8 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | 4eae06299ba35e3f6a48eef4a19cde6d1c374deb (diff) |
gpu: nvgpu: Move setting priv interrupt to priv_ring
Registers to set priv interrupts are in priv_ring, but the code was
in bus HAL. Move the code and related HALs to priv_ring instead.
JIRA NVGPU-588
Change-Id: I708d11f77405dbba86586a0d1da42f65bcc1de9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1730889
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 52346541..42e96715 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4502,8 +4502,8 @@ static int gk20a_init_gr_setup_hw(struct gk20a *g) | |||
4502 | 4502 | ||
4503 | gr_gk20a_zcull_init_hw(g, gr); | 4503 | gr_gk20a_zcull_init_hw(g, gr); |
4504 | 4504 | ||
4505 | if (g->ops.bus.set_ppriv_timeout_settings) | 4505 | if (g->ops.priv_ring.set_ppriv_timeout_settings) |
4506 | g->ops.bus.set_ppriv_timeout_settings(g); | 4506 | g->ops.priv_ring.set_ppriv_timeout_settings(g); |
4507 | 4507 | ||
4508 | /* enable fifo access */ | 4508 | /* enable fifo access */ |
4509 | gk20a_writel(g, gr_gpfifo_ctl_r(), | 4509 | gk20a_writel(g, gr_gpfifo_ctl_r(), |