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 <onemri@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2911560
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
omar
2023-05-27 23:59:07 +00:00
committed by mobile promotions
parent 55e4803b61
commit cde5ffd7c5

View File

@@ -454,6 +454,8 @@ struct nvpva_hwseq_config {
}; };
struct nvpva_ioctl_task { struct nvpva_ioctl_task {
uint64_t prog_id;
uint64_t stream_id;
uint16_t exe_id; uint16_t exe_id;
uint32_t flags; uint32_t flags;
uint32_t l2_alloc_size; /* Not applicable for Xavier */ uint32_t l2_alloc_size; /* Not applicable for Xavier */