summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/channel.h
diff options
context:
space:
mode:
authorSourab Gupta <sourabg@nvidia.com>2018-04-10 02:35:09 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-11 13:16:09 -0400
commit585e33e4082baaf58d3714c42200f3c72bffa218 (patch)
tree0258a738f37e96aab4d11ae8ac3a4d78e3680c4b /drivers/gpu/nvgpu/common/linux/channel.h
parentf3d22faef874901808746d957d2f97e6ca07a977 (diff)
gpu: nvgpu: remove usage of nvgpu_fence
Remove the usage of nvgpu_fence 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: Ic3737450123dfc5e1c40ca5b6b8d8f6b3070aa0d Signed-off-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1691977 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/channel.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.h b/drivers/gpu/nvgpu/common/linux/channel.h
index 35be425a..85be581a 100644
--- a/drivers/gpu/nvgpu/common/linux/channel.h
+++ b/drivers/gpu/nvgpu/common/linux/channel.h
@@ -24,7 +24,7 @@
24struct channel_gk20a; 24struct channel_gk20a;
25struct nvgpu_gpfifo; 25struct nvgpu_gpfifo;
26struct nvgpu_submit_gpfifo_args; 26struct nvgpu_submit_gpfifo_args;
27struct nvgpu_fence; 27struct nvgpu_channel_fence;
28struct gk20a_fence; 28struct gk20a_fence;
29struct fifo_profile_gk20a; 29struct fifo_profile_gk20a;
30struct nvgpu_os_linux; 30struct nvgpu_os_linux;
@@ -75,7 +75,7 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
75 struct nvgpu_submit_gpfifo_args *args, 75 struct nvgpu_submit_gpfifo_args *args,
76 u32 num_entries, 76 u32 num_entries,
77 u32 flags, 77 u32 flags,
78 struct nvgpu_fence *fence, 78 struct nvgpu_channel_fence *fence,
79 struct gk20a_fence **fence_out, 79 struct gk20a_fence **fence_out,
80 bool force_need_sync_fence, 80 bool force_need_sync_fence,
81 struct fifo_profile_gk20a *profile); 81 struct fifo_profile_gk20a *profile);