summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvhost_events.h
Commit message (Collapse)AuthorAge
* include: uapi: change the data type in headersAnuj Gangwar2019-05-10
| | | | | | | | | | | | | | | According kernel ABI proposal, user-space headers should have data type like __u8, __u16, __u32, __u64 instead of u8, u16, u32, u64. Bug 2062672 Change-Id: I3b5d09584efb0738f87f03c9d746bffec3d2a209 Signed-off-by: Anuj Gangwar <anujg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2116124 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: host: nvdla, pva: add task information to fencesDmitry Antipov2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For NSys, we're interested in having detailed information on what task waits on a particular prefence or requests a particular postfence. This is implemented by adding two extra fields, 'task_syncpt_id' and 'task_syncpt_thresh' to 'struct nvhost_task_fence', to record the task this particular fence is associated with. To avoid race conditon in pva_submit (similar to what was fixed in 0c2065fd669926536f79fd9e8ec33f33cbdcae2e), PVA task memory management is changed to use simple kref-based scheme, much like it's done in DLA. Finally, this patch renames syncpoint fields of 'task_fence' to 'syncpt_id' and 'syncpt_thresh' to match the same field names in other events, which is intended to simplify Python scripting. JIRA DTSP-1662 JIRA DTSP-682 Bug 2568514 Signed-off-by: Dmitry Antipov <dantipov@nvidia.com> Change-Id: I4c55efcae15eb80a0d950882d6ff6e5ac706ab20 Reviewed-on: https://git-master.nvidia.com/r/1978175 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Shridhar Rasal <srasal@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> Reviewed-on: https://git-master.nvidia.com/r/2099982 Reviewed-by: Mitch Harwell <mharwell@nvidia.com> Tested-by: Mitch Harwell <mharwell@nvidia.com>
* nvhost: pva: Format perf events for Nsight sysSaleh Dindar2018-09-04
| | | | | | | | | | | | | | | | | | | Events need to be in a certain format in order to be visualized correctly in Nsight sys interface JIRA PVA-1116 Change-Id: Ifb2aa2b943560acbfa18c0c2df9036cd0ad95212 Signed-off-by: Saleh Dindar <sdindar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1741882 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Colin Tracey <ctracey@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* eventlib: unify NVDLA/PVA fence types and add fence recordingDmitry Antipov2018-08-28
| | | | | | | | | | | | | | Bug 2170736 Change-Id: If4fdeda140bf2474a08beb2a0d7c3fc1737a1a66 Signed-off-by: Dmitry Antipov <dantipov@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1750906 Reviewed-by: Saleh Dindar <sdindar@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Colin Tracey <ctracey@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* nvhost:pva: Add VPU performance trackingSaleh Dindar2018-06-05
| | | | | | | | | | | | | VPU performance tracking is added by using post-actions and delivering results to the trace JIRA PVA-1087 Change-Id: Ia0030348665c8c0857cf107f4f76d9cc6052f1f2 Signed-off-by: Saleh Dindar <sdindar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1719719 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: host: Add nv_mm_ prefix in schemaNikki Chumakov2018-03-13
| | | | | | | | | | | | | | | | Provider name must have nv_mm_ prefix because of requirements developed for NvMedia eventlib writers. Bug 2082085 Change-Id: I086bb25691b85ff996021204b591bf520659d05f Signed-off-by: Nikki Chumakov <nchumakov@nvidia.com> https://git-master.nvidia.com/r/1673464 Reviewed-on: https://git-master.nvidia.com/r/1673464 Reviewed-by: Alexey Kravets <akravets@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: host: Remove padding from eventlib eventsMikko Perttunen2018-02-02
| | | | | | | | | | | | | | | | | eventlib_format doesn't like padding on event data, so get rid of it. Currently event data is specified as an union, but this is not necessary and adds the redundant padding. Remove the union and just deliver events as variably-sized structs. Jira HOSTX-329 Jira HOSTX-317 Change-Id: I5df318d9cdf527e3d42e71c749585a0ea029d52a Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1647739 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
* video: tegra: host: Rework eventlib eventsArto Merilainen2017-12-05
| | | | | | | | | | | | | | | | This change updates eventlib events to follow the requested format: - An event is generated as part of submission - Rather than using "START" in the event identifier, the code uses "BEGIN" Bug 1996639 Change-Id: I5afc31332b0121a2287eda07f77d86304a0ba6ac Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1610037 GVS: Gerrit_Virtual_Submit Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
* video: tegra: host: Add eventlib supportArto Merilainen2017-10-19
This change adds support for eventlib completion events. Eventlib is a library that is intended to interface with Tegra System Profiler to deliver information about e.g. task start and completion events. Bug 1996639 Change-Id: Ia5efcfb7ce54b7ee7822d6d5a153369b5a4ae535 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1580285 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>