summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-21 15:55:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-06 21:14:53 -0400
commitc9665079d7b12f22a847c62587724b4ee120ca6e (patch)
tree7882bd08193db4c34b3b8ad7df7013339da2fba1 /drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
parentb69020bff5dfa69cad926c9374cdbe9a62509ffd (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/fecs_trace_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
index b4e3bad1..3ed28718 100644
--- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
@@ -60,7 +60,7 @@ struct gk20a_fecs_trace_hash_ent {
60 60
61struct gk20a_fecs_trace { 61struct gk20a_fecs_trace {
62 62
63 struct mem_desc trace_buf; 63 struct nvgpu_mem trace_buf;
64 DECLARE_HASHTABLE(pid_hash_table, GK20A_FECS_TRACE_HASH_BITS); 64 DECLARE_HASHTABLE(pid_hash_table, GK20A_FECS_TRACE_HASH_BITS);
65 struct nvgpu_mutex hash_lock; 65 struct nvgpu_mutex hash_lock;
66 struct nvgpu_mutex poll_lock; 66 struct nvgpu_mutex poll_lock;
@@ -620,7 +620,7 @@ static int gk20a_fecs_trace_bind_channel(struct gk20a *g,
620 phys_addr_t pa; 620 phys_addr_t pa;
621 struct channel_ctx_gk20a *ch_ctx = &ch->ch_ctx; 621 struct channel_ctx_gk20a *ch_ctx = &ch->ch_ctx;
622 struct gk20a_fecs_trace *trace = g->fecs_trace; 622 struct gk20a_fecs_trace *trace = g->fecs_trace;
623 struct mem_desc *mem = &ch_ctx->gr_ctx->mem; 623 struct nvgpu_mem *mem = &ch_ctx->gr_ctx->mem;
624 u32 context_ptr = gk20a_fecs_trace_fecs_context_ptr(ch); 624 u32 context_ptr = gk20a_fecs_trace_fecs_context_ptr(ch);
625 pid_t pid; 625 pid_t pid;
626 u32 aperture; 626 u32 aperture;