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/gm20b/gr_gm20b.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/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 57bff64f..ab169a60 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -852,7 +852,7 @@ static int gr_gm20b_alloc_gr_ctx(struct gk20a *g, | |||
852 | 852 | ||
853 | static void gr_gm20b_update_ctxsw_preemption_mode(struct gk20a *g, | 853 | static void gr_gm20b_update_ctxsw_preemption_mode(struct gk20a *g, |
854 | struct channel_ctx_gk20a *ch_ctx, | 854 | struct channel_ctx_gk20a *ch_ctx, |
855 | struct mem_desc *mem) | 855 | struct nvgpu_mem *mem) |
856 | { | 856 | { |
857 | struct gr_ctx_desc *gr_ctx = ch_ctx->gr_ctx; | 857 | struct gr_ctx_desc *gr_ctx = ch_ctx->gr_ctx; |
858 | u32 cta_preempt_option = | 858 | u32 cta_preempt_option = |
@@ -1012,7 +1012,7 @@ static int gr_gm20b_update_pc_sampling(struct channel_gk20a *c, | |||
1012 | bool enable) | 1012 | bool enable) |
1013 | { | 1013 | { |
1014 | struct channel_ctx_gk20a *ch_ctx = &c->ch_ctx; | 1014 | struct channel_ctx_gk20a *ch_ctx = &c->ch_ctx; |
1015 | struct mem_desc *mem; | 1015 | struct nvgpu_mem *mem; |
1016 | u32 v; | 1016 | u32 v; |
1017 | 1017 | ||
1018 | gk20a_dbg_fn(""); | 1018 | gk20a_dbg_fn(""); |
@@ -1108,7 +1108,7 @@ static void gr_gm20b_init_cyclestats(struct gk20a *g) | |||
1108 | #endif | 1108 | #endif |
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | static void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct mem_desc *mem) | 1111 | static void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct nvgpu_mem *mem) |
1112 | { | 1112 | { |
1113 | u32 cde_v; | 1113 | u32 cde_v; |
1114 | 1114 | ||