From 9f9035d10bdbd56e13697aab44bc36b4bd9275cd Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Thu, 15 Mar 2018 15:34:14 +0200 Subject: gpu: nvgpu: remove fence param from channel_sync The fence parameter that gets output from gk20a_channel_sync's wait() and wait_fd() APIs is no longer used for anything. Delete it. Jira NVGPU-527 Jira NVGPU-528 Bug 200390539 Change-Id: I659504062dc6aee83a0a0d9f5625372b4ae8c0e2 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1676734 Reviewed-by: svc-mobile-coverity Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index 20460c80..3c12147f 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c @@ -51,8 +51,7 @@ struct gk20a_channel_syncpt { }; static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s, - u32 id, u32 thresh, struct priv_cmd_entry *wait_cmd, - struct gk20a_fence *fence) + u32 id, u32 thresh, struct priv_cmd_entry *wait_cmd) { struct gk20a_channel_syncpt *sp = container_of(s, struct gk20a_channel_syncpt, ops); @@ -84,8 +83,7 @@ static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s, } static int gk20a_channel_syncpt_wait_fd(struct gk20a_channel_sync *s, int fd, - struct priv_cmd_entry *wait_cmd, - struct gk20a_fence *fence) + struct priv_cmd_entry *wait_cmd) { #ifdef CONFIG_SYNC int i; @@ -456,8 +454,7 @@ static void add_sema_cmd(struct gk20a *g, struct channel_gk20a *c, static int gk20a_channel_semaphore_wait_syncpt( struct gk20a_channel_sync *s, u32 id, - u32 thresh, struct priv_cmd_entry *entry, - struct gk20a_fence *fence) + u32 thresh, struct priv_cmd_entry *entry) { struct gk20a_channel_semaphore *sema = container_of(s, struct gk20a_channel_semaphore, ops); @@ -521,8 +518,7 @@ put_fence: static int gk20a_channel_semaphore_wait_fd( struct gk20a_channel_sync *s, int fd, - struct priv_cmd_entry *entry, - struct gk20a_fence *fence) + struct priv_cmd_entry *entry) { struct gk20a_channel_semaphore *sema = container_of(s, struct gk20a_channel_semaphore, ops); -- cgit v1.2.2