diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-03-21 15:55:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-06 21:14:53 -0400 |
commit | c9665079d7b12f22a847c62587724b4ee120ca6e (patch) | |
tree | 7882bd08193db4c34b3b8ad7df7013339da2fba1 /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | b69020bff5dfa69cad926c9374cdbe9a62509ffd (diff) |
gpu: nvgpu: rename mem_desc to nvgpu_mem
Renaming was done with the following command:
$ find -type f | \
xargs sed -i 's/struct mem_desc/struct nvgpu_mem/g'
Also rename mem_desc.[ch] to nvgpu_mem.[ch].
JIRA NVGPU-12
Change-Id: I69395758c22a56aa01e3dffbcded70a729bf559a
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1325547
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 6d1b902e..d5456ea1 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -63,7 +63,7 @@ struct fifo_runlist_info_gk20a { | |||
63 | unsigned long *active_channels; | 63 | unsigned long *active_channels; |
64 | unsigned long *active_tsgs; | 64 | unsigned long *active_tsgs; |
65 | /* Each engine has its own SW and HW runlist buffer.*/ | 65 | /* Each engine has its own SW and HW runlist buffer.*/ |
66 | struct mem_desc mem[MAX_RUNLIST_BUFFERS]; | 66 | struct nvgpu_mem mem[MAX_RUNLIST_BUFFERS]; |
67 | u32 cur_buffer; | 67 | u32 cur_buffer; |
68 | u32 total_entries; | 68 | u32 total_entries; |
69 | u32 pbdma_bitmask; /* pbdmas supported for this runlist*/ | 69 | u32 pbdma_bitmask; /* pbdmas supported for this runlist*/ |
@@ -166,7 +166,7 @@ struct fifo_gk20a { | |||
166 | struct nvgpu_mutex lock; | 166 | struct nvgpu_mutex lock; |
167 | } profile; | 167 | } profile; |
168 | #endif | 168 | #endif |
169 | struct mem_desc userd; | 169 | struct nvgpu_mem userd; |
170 | u32 userd_entry_size; | 170 | u32 userd_entry_size; |
171 | 171 | ||
172 | unsigned int used_channels; | 172 | unsigned int used_channels; |