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/gp106/acr_gp106.c | |
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/gp106/acr_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/acr_gp106.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.c b/drivers/gpu/nvgpu/gp106/acr_gp106.c index ee709ed1..41c4981d 100644 --- a/drivers/gpu/nvgpu/gp106/acr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/acr_gp106.c | |||
@@ -69,7 +69,7 @@ static void lsfm_free_nonpmu_ucode_img_res(struct gk20a *g, | |||
69 | static int lsf_gen_wpr_requirements(struct gk20a *g, | 69 | static int lsf_gen_wpr_requirements(struct gk20a *g, |
70 | struct ls_flcn_mgr_v1 *plsfm); | 70 | struct ls_flcn_mgr_v1 *plsfm); |
71 | static void lsfm_init_wpr_contents(struct gk20a *g, | 71 | static void lsfm_init_wpr_contents(struct gk20a *g, |
72 | struct ls_flcn_mgr_v1 *plsfm, struct mem_desc *nonwpr); | 72 | struct ls_flcn_mgr_v1 *plsfm, struct nvgpu_mem *nonwpr); |
73 | static void free_acr_resources(struct gk20a *g, struct ls_flcn_mgr_v1 *plsfm); | 73 | static void free_acr_resources(struct gk20a *g, struct ls_flcn_mgr_v1 *plsfm); |
74 | static int gp106_pmu_populate_loader_cfg(struct gk20a *g, | 74 | static int gp106_pmu_populate_loader_cfg(struct gk20a *g, |
75 | void *lsfm, u32 *p_bl_gen_desc_size); | 75 | void *lsfm, u32 *p_bl_gen_desc_size); |
@@ -98,7 +98,7 @@ static void flcn64_set_dma(struct falc_u64 *dma_addr, u64 value) | |||
98 | } | 98 | } |
99 | 99 | ||
100 | static int gp106_alloc_blob_space(struct gk20a *g, | 100 | static int gp106_alloc_blob_space(struct gk20a *g, |
101 | size_t size, struct mem_desc *mem) | 101 | size_t size, struct nvgpu_mem *mem) |
102 | { | 102 | { |
103 | struct wpr_carveout_info wpr_inf; | 103 | struct wpr_carveout_info wpr_inf; |
104 | int err; | 104 | int err; |
@@ -685,7 +685,7 @@ static int lsfm_fill_flcn_bl_gen_desc(struct gk20a *g, | |||
685 | 685 | ||
686 | /* Initialize WPR contents */ | 686 | /* Initialize WPR contents */ |
687 | static void lsfm_init_wpr_contents(struct gk20a *g, | 687 | static void lsfm_init_wpr_contents(struct gk20a *g, |
688 | struct ls_flcn_mgr_v1 *plsfm, struct mem_desc *ucode) | 688 | struct ls_flcn_mgr_v1 *plsfm, struct nvgpu_mem *ucode) |
689 | { | 689 | { |
690 | struct lsfm_managed_ucode_img_v2 *pnode = plsfm->ucode_img_list; | 690 | struct lsfm_managed_ucode_img_v2 *pnode = plsfm->ucode_img_list; |
691 | u32 i; | 691 | u32 i; |