diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2018-04-10 03:14:25 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-11 13:16:13 -0400 |
commit | f8578c92741425ec4630bc9fe52d8537fa8a5c16 (patch) | |
tree | e723da2b770f34ae4526d7e64e9ba8b3c3a05c56 /drivers/gpu/nvgpu/common/linux/cde.h | |
parent | 585e33e4082baaf58d3714c42200f3c72bffa218 (diff) |
gpu: nvgpu: remove usage of nvgpu_gpfifo
Remove the usage of nvgpu_gpfifo splattered across nvgpu,
and replace with a struct defined in common code.
The usage is still inside Linux, but this helps the
subsequent unification efforts, e.g. to unify the submit
path.
VQRM-3465
Change-Id: I9e5ac697a0c7f85239ddba319085c09481d20d6b
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1691978
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/cde.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/cde.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde.h b/drivers/gpu/nvgpu/common/linux/cde.h index 9ff142ea..5928b624 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.h +++ b/drivers/gpu/nvgpu/common/linux/cde.h | |||
@@ -47,7 +47,7 @@ struct gk20a_fence; | |||
47 | struct nvgpu_channel_fence; | 47 | struct nvgpu_channel_fence; |
48 | struct channel_gk20a; | 48 | struct channel_gk20a; |
49 | struct vm_gk20a; | 49 | struct vm_gk20a; |
50 | struct nvgpu_gpfifo; | 50 | struct nvgpu_gpfifo_entry; |
51 | 51 | ||
52 | /* | 52 | /* |
53 | * this element defines a buffer that is allocated and mapped into gpu address | 53 | * this element defines a buffer that is allocated and mapped into gpu address |
@@ -258,10 +258,10 @@ struct gk20a_cde_ctx { | |||
258 | 258 | ||
259 | u64 backing_store_vaddr; | 259 | u64 backing_store_vaddr; |
260 | 260 | ||
261 | struct nvgpu_gpfifo *init_convert_cmd; | 261 | struct nvgpu_gpfifo_entry *init_convert_cmd; |
262 | int init_cmd_num_entries; | 262 | int init_cmd_num_entries; |
263 | 263 | ||
264 | struct nvgpu_gpfifo *convert_cmd; | 264 | struct nvgpu_gpfifo_entry *convert_cmd; |
265 | int convert_cmd_num_entries; | 265 | int convert_cmd_num_entries; |
266 | 266 | ||
267 | struct kobj_attribute attr; | 267 | struct kobj_attribute attr; |