From f16d677563ad2766a89e8651153a0708338cd8d5 Mon Sep 17 00:00:00 2001 From: Arvind M Date: Tue, 22 Jun 2021 17:19:44 +0530 Subject: [PATCH] nvdla: kmd: add support for stride signal action NVDEV_FENCE_SIGNAL_STRIDE fence action translates to ACTION_INCREMENT_SEM firmware action. Jira DLA-4445 Change-Id: Idb537ea784614d031f66c570359dbc7dd74374af Signed-off-by: Arvind M Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2548309 Reviewed-by: Amit Sharma (SW-TEGRA) Reviewed-by: Anup Mahindre Reviewed-by: svc_kernel_abi Reviewed-by: Bharat Nihalani Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- include/uapi/linux/nvdev_fence.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/nvdev_fence.h b/include/uapi/linux/nvdev_fence.h index 5877a388..bfa8bed7 100644 --- a/include/uapi/linux/nvdev_fence.h +++ b/include/uapi/linux/nvdev_fence.h @@ -3,7 +3,7 @@ * * Tegra PVA/DLA fence support * - * Copyright (c) 2018-2019, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2018-2021, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,6 +51,7 @@ struct nvdev_fence { __u32 action; #define NVDEV_FENCE_WAIT 0 #define NVDEV_FENCE_SIGNAL 1 +#define NVDEV_FENCE_SIGNAL_STRIDE 2 __u32 syncpoint_index; __u32 syncpoint_value; __u32 sync_fd;