From cde5ffd7c5cd2a89a3f2a5ce4b19663e2e35c4bb Mon Sep 17 00:00:00 2001 From: omar Date: Sat, 27 May 2023 23:59:07 +0000 Subject: [PATCH] drivers: pva: add stream and prog ID Add stream_id and prog_id to the task submit struct. This information can then be passed to profilers to track which events belong to which tasks and processes. This can be either via eventlib or ftrace. Bug 4080222 Change-Id: I6e5d80868022b0beffd2b11330b93ab302c96ee5 Signed-off-by: omar Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2911560 GVS: Gerrit_Virtual_Submit --- include/uapi/linux/nvpva_ioctl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/nvpva_ioctl.h b/include/uapi/linux/nvpva_ioctl.h index 180120a9..dbdda254 100644 --- a/include/uapi/linux/nvpva_ioctl.h +++ b/include/uapi/linux/nvpva_ioctl.h @@ -454,6 +454,8 @@ struct nvpva_hwseq_config { }; struct nvpva_ioctl_task { + uint64_t prog_id; + uint64_t stream_id; uint16_t exe_id; uint32_t flags; uint32_t l2_alloc_size; /* Not applicable for Xavier */