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/gv11b/hal_gv11b.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/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 2379c17b..a191c3fc 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -725,8 +725,6 @@ static const struct gpu_ops gv11b_ops = { | |||
725 | .read_ptimer = gk20a_read_ptimer, | 725 | .read_ptimer = gk20a_read_ptimer, |
726 | .get_timestamps_zipper = nvgpu_get_timestamps_zipper, | 726 | .get_timestamps_zipper = nvgpu_get_timestamps_zipper, |
727 | .bar1_bind = NULL, | 727 | .bar1_bind = NULL, |
728 | .set_ppriv_timeout_settings = | ||
729 | gk20a_bus_set_ppriv_timeout_settings, | ||
730 | }, | 728 | }, |
731 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 729 | #if defined(CONFIG_GK20A_CYCLE_STATS) |
732 | .css = { | 730 | .css = { |
@@ -744,6 +742,8 @@ static const struct gpu_ops gv11b_ops = { | |||
744 | .priv_ring = { | 742 | .priv_ring = { |
745 | .isr = gp10b_priv_ring_isr, | 743 | .isr = gp10b_priv_ring_isr, |
746 | .decode_error_code = gp10b_priv_ring_decode_error_code, | 744 | .decode_error_code = gp10b_priv_ring_decode_error_code, |
745 | .set_ppriv_timeout_settings = | ||
746 | gk20a_priv_set_timeout_settings, | ||
747 | }, | 747 | }, |
748 | .fuse = { | 748 | .fuse = { |
749 | .check_priv_security = gp10b_fuse_check_priv_security, | 749 | .check_priv_security = gp10b_fuse_check_priv_security, |