mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
video: tegra: host: restores sof/eof, TS feature
This commit restores the following, [1] 890be46 video: tegra: host: dla: refactor and cleanup code [2] 109f8e8 video: tegra: host: add prefence signal support [3] 6f683c8 video: tegra: host: add sof/eof taskstatus support [4] a9cb0c9 video: tegra: host: add sof/eof timestamp support [5] dcdb0d6 video: tegra: host: increase fw minor version Jira DLA-1992 Jira DLA-1993 Change-Id: I9844b141b72fc553ba7d886e706e340160586129 Signed-off-by: Arvind M <am@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2135092 Tested-by: Mitch Harwell <mharwell@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
8a803afc52
commit
831cb47c60
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Tegra PVA/DLA fence support
|
* 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
|
* 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
|
* 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
|
* struct nvdev_fence structure for passing fence information
|
||||||
*
|
*
|
||||||
* @type: Type of the fence (syncpoint, sync fd or semaphore)
|
* @type: Type of the fence (syncpoint, sync fd or semaphore)
|
||||||
|
* @type: fence action (wait or signal)
|
||||||
* @syncpoint_index: Syncpoint id
|
* @syncpoint_index: Syncpoint id
|
||||||
* @syncpoint_value: Value of syncpoint id
|
* @syncpoint_value: Value of syncpoint id
|
||||||
* @sync_fd: Linux sync FD handle
|
* @sync_fd: Linux sync FD handle
|
||||||
@@ -47,6 +48,9 @@ struct nvdev_fence {
|
|||||||
#define NVDEV_FENCE_TYPE_SYNC_FD 1
|
#define NVDEV_FENCE_TYPE_SYNC_FD 1
|
||||||
#define NVDEV_FENCE_TYPE_SEMAPHORE 2
|
#define NVDEV_FENCE_TYPE_SEMAPHORE 2
|
||||||
#define NVDEV_FENCE_TYPE_SEMAPHORE_TS 3
|
#define NVDEV_FENCE_TYPE_SEMAPHORE_TS 3
|
||||||
|
__u32 action;
|
||||||
|
#define NVDEV_FENCE_WAIT 0
|
||||||
|
#define NVDEV_FENCE_SIGNAL 1
|
||||||
__u32 syncpoint_index;
|
__u32 syncpoint_index;
|
||||||
__u32 syncpoint_value;
|
__u32 syncpoint_value;
|
||||||
__u32 sync_fd;
|
__u32 sync_fd;
|
||||||
|
|||||||
Reference in New Issue
Block a user