From 585e33e4082baaf58d3714c42200f3c72bffa218 Mon Sep 17 00:00:00 2001 From: Sourab Gupta Date: Tue, 10 Apr 2018 12:05:09 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1691977 Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/channel.h') 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 @@ struct channel_gk20a; struct nvgpu_gpfifo; struct nvgpu_submit_gpfifo_args; -struct nvgpu_fence; +struct nvgpu_channel_fence; struct gk20a_fence; struct fifo_profile_gk20a; struct nvgpu_os_linux; @@ -75,7 +75,7 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c, struct nvgpu_submit_gpfifo_args *args, u32 num_entries, u32 flags, - struct nvgpu_fence *fence, + struct nvgpu_channel_fence *fence, struct gk20a_fence **fence_out, bool force_need_sync_fence, struct fifo_profile_gk20a *profile); -- cgit v1.2.2