summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
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/gp10b/gr_gp10b.h
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/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index ffb15d91..c4c206c3 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -42,7 +42,7 @@ enum {
42void gp10b_init_gr(struct gpu_ops *ops); 42void gp10b_init_gr(struct gpu_ops *ops);
43int gr_gp10b_init_fs_state(struct gk20a *g); 43int gr_gp10b_init_fs_state(struct gk20a *g);
44int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, 44int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size,
45 struct mem_desc *mem); 45 struct nvgpu_mem *mem);
46void gr_gp10b_create_sysfs(struct device *dev); 46void gr_gp10b_create_sysfs(struct device *dev);
47 47
48struct ecc_stat { 48struct ecc_stat {
@@ -95,10 +95,10 @@ struct gr_t18x {
95}; 95};
96 96
97struct gr_ctx_desc_t18x { 97struct gr_ctx_desc_t18x {
98 struct mem_desc preempt_ctxsw_buffer; 98 struct nvgpu_mem preempt_ctxsw_buffer;
99 struct mem_desc spill_ctxsw_buffer; 99 struct nvgpu_mem spill_ctxsw_buffer;
100 struct mem_desc betacb_ctxsw_buffer; 100 struct nvgpu_mem betacb_ctxsw_buffer;
101 struct mem_desc pagepool_ctxsw_buffer; 101 struct nvgpu_mem pagepool_ctxsw_buffer;
102 u32 ctx_id; 102 u32 ctx_id;
103 bool ctx_id_valid; 103 bool ctx_id_valid;
104 bool cilp_preempt_pending; 104 bool cilp_preempt_pending;