diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-03-22 13:01:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-06 21:15:15 -0400 |
commit | c876bec8bab5a1e4d6dea529700ef19c5eac5e64 (patch) | |
tree | 63619f86ef614b247965ab78b39553fcf32e39c7 /drivers/gpu/nvgpu/gv11b/subctx_gv11b.c | |
parent | 633d331ae2db50fbcce829fe324c19fc44b82c24 (diff) |
gpu: nvgpu: rename mem_desc to nvgpu_mem
$ find -type f | \
xargs sed -i 's/struct mem_desc/struct nvgpu_mem/g'
JIRA NVGPU-12
Change-Id: I2b5d015e45185269bfae7c6d4199fe843ff26834
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1326194
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/subctx_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/subctx_gv11b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c index 8bf0631e..757baa6e 100644 --- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> | 24 | #include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> |
25 | 25 | ||
26 | static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, | 26 | static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, |
27 | struct mem_desc *inst_block); | 27 | struct nvgpu_mem *inst_block); |
28 | 28 | ||
29 | void gv11b_free_subctx_header(struct channel_gk20a *c) | 29 | void gv11b_free_subctx_header(struct channel_gk20a *c) |
30 | { | 30 | { |
@@ -86,7 +86,7 @@ int gv11b_alloc_subctx_header(struct channel_gk20a *c) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, | 88 | static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, |
89 | struct mem_desc *inst_block) | 89 | struct nvgpu_mem *inst_block) |
90 | { | 90 | { |
91 | struct gk20a *g = c->g; | 91 | struct gk20a *g = c->g; |
92 | struct vm_gk20a *vm; | 92 | struct vm_gk20a *vm; |
@@ -126,7 +126,7 @@ static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, | |||
126 | int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va) | 126 | int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va) |
127 | { | 127 | { |
128 | struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header; | 128 | struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header; |
129 | struct mem_desc *gr_mem; | 129 | struct nvgpu_mem *gr_mem; |
130 | struct gk20a *g = c->g; | 130 | struct gk20a *g = c->g; |
131 | int ret = 0; | 131 | int ret = 0; |
132 | u32 addr_lo, addr_hi; | 132 | u32 addr_lo, addr_hi; |