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 <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2548309
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Arvind M
2021-06-22 17:19:44 +05:30
committed by Laxman Dewangan
parent 831cb47c60
commit f16d677563

View File

@@ -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;