From cd7c4331453af7751a19bd96150715b86b8ca2ca Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 29 Jun 2018 12:05:38 +0300 Subject: gpu: nvgpu: remove gk20a_channel_sync::incr_wfi This explicit incr_wfi has not been used since commit 06be77da376f ("gpu: nvgpu: Do not send WFI when finishing channel"). Change-Id: I0213b0f728f83b483a7dbbef252912555b06815f Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1765407 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h index 5c6e91c9..cb155d6d 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.h @@ -60,15 +60,6 @@ struct gk20a_channel_sync { bool need_sync_fence, bool register_irq); - /* Increment syncpoint/semaphore, preceded by a wfi. - * Returns - * - a gpu cmdbuf that performs the increment when executed, - * - a fence that can be passed to wait_cpu() and is_expired(). - */ - int (*incr_wfi)(struct gk20a_channel_sync *s, - struct priv_cmd_entry *entry, - struct gk20a_fence *fence); - /* Increment syncpoint/semaphore, so that the returned fence represents * work completion (may need wfi) and can be returned to user space. * Returns -- cgit v1.2.2