From fafa521eb25f2d7fef7c7da34a5ca1d9d08899b5 Mon Sep 17 00:00:00 2001 From: Shridhar Rasal Date: Fri, 22 Mar 2019 17:29:24 +0530 Subject: video: tegra: host: nvdla: "Fast-forward" from dev-main a11353e video: tegra: host: restores sof/eof, TS feature 30ad926 Revert "video: tegra: host: dla: refactor and cleanup code" 90728d1 Revert "video: tegra: host: add prefence signal support" 3a3cb49 Revert "video: tegra: host: add sof/eof taskstatus support" ba8175d Revert "video: tegra: host: increase fw minor version" 641c3dd Revert "video: tegra: host: add sof/eof timestamp support" dcdb0d6 video: tegra: host: increase fw minor version a9cb0c9 video: tegra: host: add sof/eof timestamp support 6f683c8 video: tegra: host: add sof/eof taskstatus support 109f8e8 video: tegra: host: add prefence signal support 890be46 video: tegra: host: dla: refactor and cleanup code fca91ed video: tegra: host: dla: use nvdla_queue e428726 video: tegra: host: dla: switch to nvdla_buffer b438bc7 video: tegra: host: dla: factor out nvhost queue a6c24d8 video: tegra: host: dla: factor out nvhost buffer 0f2f0cc video: tegra: host: dla: addresslist alignment to 256 c0f2c0a video: tegra: host: update fw version interface 2aec9c3 video: tegra: host: update os and fw version interface Bug 2635977 Change-Id: Ia66198c644032fffd8d12e7ba19ebdc785ce9aa2 Signed-off-by: Mitch Harwell Reviewed-on: https://git-master.nvidia.com/r/2145521 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/uapi/linux/nvdev_fence.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/uapi/linux/nvdev_fence.h') diff --git a/include/uapi/linux/nvdev_fence.h b/include/uapi/linux/nvdev_fence.h index 37d81be43..5877a3887 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, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2018-2019, 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 @@ -34,6 +34,7 @@ enum nvdev_fence_kind { * struct nvdev_fence structure for passing fence information * * @type: Type of the fence (syncpoint, sync fd or semaphore) + * @type: fence action (wait or signal) * @syncpoint_index: Syncpoint id * @syncpoint_value: Value of syncpoint id * @sync_fd: Linux sync FD handle @@ -47,6 +48,9 @@ struct nvdev_fence { #define NVDEV_FENCE_TYPE_SYNC_FD 1 #define NVDEV_FENCE_TYPE_SEMAPHORE 2 #define NVDEV_FENCE_TYPE_SEMAPHORE_TS 3 + __u32 action; +#define NVDEV_FENCE_WAIT 0 +#define NVDEV_FENCE_SIGNAL 1 __u32 syncpoint_index; __u32 syncpoint_value; __u32 sync_fd; -- cgit v1.2.2