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/gk20a.h | |
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/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 77e6e759..2d304cff 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1128,7 +1128,6 @@ struct gpu_ops { | |||
1128 | u32 source_id, u32 count, | 1128 | u32 source_id, u32 count, |
1129 | struct nvgpu_cpu_time_correlation_sample *); | 1129 | struct nvgpu_cpu_time_correlation_sample *); |
1130 | int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst); | 1130 | int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst); |
1131 | void (*set_ppriv_timeout_settings)(struct gk20a *g); | ||
1132 | } bus; | 1131 | } bus; |
1133 | 1132 | ||
1134 | struct { | 1133 | struct { |
@@ -1179,6 +1178,7 @@ struct gpu_ops { | |||
1179 | struct { | 1178 | struct { |
1180 | void (*isr)(struct gk20a *g); | 1179 | void (*isr)(struct gk20a *g); |
1181 | void (*decode_error_code)(struct gk20a *g, u32 error_code); | 1180 | void (*decode_error_code)(struct gk20a *g, u32 error_code); |
1181 | void (*set_ppriv_timeout_settings)(struct gk20a *g); | ||
1182 | } priv_ring; | 1182 | } priv_ring; |
1183 | struct { | 1183 | struct { |
1184 | int (*check_priv_security)(struct gk20a *g); | 1184 | int (*check_priv_security)(struct gk20a *g); |