diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-01-18 17:05:07 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-24 17:41:28 -0500 |
commit | 0f291f0d5854b35e802fc0cd102fe2d669103edd (patch) | |
tree | fb795cabf3ab77f3bc993eacfec9310927131d71 /drivers/gpu/nvgpu/include/nvgpu | |
parent | 6a5bd72856ce8cef4a29d1c26c47432195b93826 (diff) |
gpu: nvgpu: Remove fault_buf_status array
Now that we have a consistent way to check if a mem allocation
is valid this array is not necessary. The code can simply check
the validity of the nvgpu_mem.
Change-Id: I6aaf563ddc314cf86a2c2b98f7eb75fa7a9a1ad9
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1641637
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/mm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/mm.h b/drivers/gpu/nvgpu/include/nvgpu/mm.h index e7b3e52c..90c6946a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/mm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/mm.h | |||
@@ -129,7 +129,6 @@ struct mm_gk20a { | |||
129 | struct nvgpu_mem bar2_desc; | 129 | struct nvgpu_mem bar2_desc; |
130 | 130 | ||
131 | struct nvgpu_mem hw_fault_buf[FAULT_TYPE_NUM]; | 131 | struct nvgpu_mem hw_fault_buf[FAULT_TYPE_NUM]; |
132 | unsigned int hw_fault_buf_status[FAULT_TYPE_NUM]; | ||
133 | struct mmu_fault_info *fault_info[FAULT_TYPE_NUM]; | 132 | struct mmu_fault_info *fault_info[FAULT_TYPE_NUM]; |
134 | struct nvgpu_mutex hub_isr_mutex; | 133 | struct nvgpu_mutex hub_isr_mutex; |
135 | u32 hub_intr_types; | 134 | u32 hub_intr_types; |