From de67fb18fb639b7a605c77eeb2e1c639a8a3d67e Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Thu, 17 May 2018 14:01:36 +0300 Subject: gpu: nvgpu: drop force_need_sync_fence in submit path For CDE work a sync fence is always requested, but kernel does not need it and submit flags from userspace will be passed to the submit function in cde path so a sync fence will get created if necessary. To reduce some complexity, remove the explicit boolean in favor of just NVGPU_SUBMIT_FLAGS_SYNC_FENCE. Jira NVGPU-705 Change-Id: I8aac85288513ed7cc640acd021d892cee86f41d8 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1721785 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/ioctl_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.c') diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c index c1492cad..057c81e2 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c @@ -803,7 +803,7 @@ static int gk20a_ioctl_channel_submit_gpfifo( ret = gk20a_submit_channel_gpfifo(ch, NULL, args, args->num_entries, submit_flags, &fence, - &fence_out, false, profile); + &fence_out, profile); if (ret) { if (fd != -1) -- cgit v1.2.2