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.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/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index b8b0c9b0..1e9a8e15 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -3963,7 +3963,7 @@ int gk20a_fifo_setup_ramfc(struct channel_gk20a *c, | |||
3963 | u32 flags) | 3963 | u32 flags) |
3964 | { | 3964 | { |
3965 | struct gk20a *g = c->g; | 3965 | struct gk20a *g = c->g; |
3966 | struct mem_desc *mem = &c->inst_block; | 3966 | struct nvgpu_mem *mem = &c->inst_block; |
3967 | 3967 | ||
3968 | gk20a_dbg_fn(""); | 3968 | gk20a_dbg_fn(""); |
3969 | 3969 | ||
@@ -4097,7 +4097,7 @@ int gk20a_fifo_set_priority(struct channel_gk20a *ch, u32 priority) | |||
4097 | void gk20a_fifo_setup_ramfc_for_privileged_channel(struct channel_gk20a *c) | 4097 | void gk20a_fifo_setup_ramfc_for_privileged_channel(struct channel_gk20a *c) |
4098 | { | 4098 | { |
4099 | struct gk20a *g = c->g; | 4099 | struct gk20a *g = c->g; |
4100 | struct mem_desc *mem = &c->inst_block; | 4100 | struct nvgpu_mem *mem = &c->inst_block; |
4101 | 4101 | ||
4102 | gk20a_dbg_info("channel %d : set ramfc privileged_channel", c->hw_chid); | 4102 | gk20a_dbg_info("channel %d : set ramfc privileged_channel", c->hw_chid); |
4103 | 4103 | ||
@@ -4109,7 +4109,7 @@ void gk20a_fifo_setup_ramfc_for_privileged_channel(struct channel_gk20a *c) | |||
4109 | int gk20a_fifo_setup_userd(struct channel_gk20a *c) | 4109 | int gk20a_fifo_setup_userd(struct channel_gk20a *c) |
4110 | { | 4110 | { |
4111 | struct gk20a *g = c->g; | 4111 | struct gk20a *g = c->g; |
4112 | struct mem_desc *mem = &g->fifo.userd; | 4112 | struct nvgpu_mem *mem = &g->fifo.userd; |
4113 | u32 offset = c->hw_chid * g->fifo.userd_entry_size / sizeof(u32); | 4113 | u32 offset = c->hw_chid * g->fifo.userd_entry_size / sizeof(u32); |
4114 | 4114 | ||
4115 | gk20a_dbg_fn(""); | 4115 | gk20a_dbg_fn(""); |