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/ce2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/common/linux/ce2.c') diff --git a/drivers/gpu/nvgpu/common/linux/ce2.c b/drivers/gpu/nvgpu/common/linux/ce2.c index 7cb39382..d1f0ad63 100644 --- a/drivers/gpu/nvgpu/common/linux/ce2.c +++ b/drivers/gpu/nvgpu/common/linux/ce2.c @@ -56,7 +56,7 @@ int gk20a_ce_execute_ops(struct gk20a *g, u32 cmd_buf_read_offset; u32 dma_copy_class; struct nvgpu_gpfifo gpfifo; - struct nvgpu_fence fence = {0,0}; + struct nvgpu_channel_fence fence = {0, 0}; struct gk20a_fence *ce_cmd_buf_fence_out = NULL; if (!ce_app->initialised ||ce_app->app_state != NVGPU_CE_ACTIVE) -- cgit v1.2.2