| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
- Buffer deallocation (+IOCTL)
- Buffer reallocation
- Private dmabuf user list and accessor
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Certain task parameter limits were not exposed to UMD / Users
- Expose these limits and rename to provide consistent KMD interface
across linux / qnx
Jira DLA-4467
JIRA DLA-4908
Bug 3352716
Change-Id: Ibcf1de5f4d442d9b1f3fefaf71195bc6e58fff5c
Signed-off-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2558254
(cherry picked from commit ccb23fdbb6da2908893cfebcdcd0d219f9b255e0)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2572193
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NVDEV_FENCE_SIGNAL_STRIDE fence action translates to
ACTION_INCREMENT_SEM firmware action.
Jira DLA-4445
JIRA DLA-4908
Bug 3352716
Change-Id: Idb537ea784614d031f66c570359dbc7dd74374af
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2548309
(cherry picked from commit 55093de292c83d787ee3cb5d74bcb1c89a65e8fc)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2572192
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[1] NVDLA_SUBMIT_FLAGS_BYPASS_EXEC flag allows its clients
(UMD or nvdla_kmd_sanity) to bypass execution for a
submission. This flag is a property of submission and
shall directly apply on all tasks within that submit.
[2] With above flag set, it propagates information to firmware
through task descriptor and firmware shall be responsible
for bypassing the execution.
Jira DLA-4443
JIRA DLA-4908
Bug 3352716
Change-Id: I70000ef486905c812fec65f265a378a99844c10a
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2544802
(cherry picked from commit 72da3fde9aa1624722359573d37ec6e73017ca98)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2572191
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add buffer type field to nvdla_mem_handle
- For internal buffers, skip pin and unpin operations and pass the
offset as final adress
- Also update error handling in nvdla_map_task_memory to match with
convention
Jira DLA-4376
JIRA DLA-4908
Bug 3352716
Change-Id: I662da30cb9c606d2f67b792f09e026af391c89d1
Signed-off-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2503708
(cherry picked from commit a2cc66a3f318394e65f6f126bbb7eaa5ccdae3e2)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2572190
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add unique identifier seqid (sequence number) for samples.
Bug 3216659
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Change-Id: I84b595f976f1f1955ecb278ababaf45591cdf5e0
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2464500
(cherry picked from commit ec284fc0b7b94871565c612358ea9e78e9ae4731)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2469351
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[1] This commit separates the allocation and deallocation
of mission critical resources away from open() and close()
[2] It is achieved through introduction of NVDLA_IOCTL_{ALLOC,RELEASE}
IOCTLs.
[3] nvdla_buffer_* APIs introduced to facilitate easier split.
Jira DLA-4175
Bug 3200422
Bug 200628173
Change-Id: I3fb07ecaff69c62ec5eb9e5bea39b07ae1624240
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2403689
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2412585
GVS: Gerrit_Virtual_Submit
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Mitch Harwell <mharwell@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[1] Facilitate pinning of buffer with user requested access
permission
[2] This feature allows to restrict access to buffers shared
with the device.
Jira DLA-2502
Jira DLA-4175
Bug 3200422
Change-Id: I175ad10922480689de57eb832040a7d59b29b9bd
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2209415
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2412573
GVS: Gerrit_Virtual_Submit
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Mitch Harwell <mharwell@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add NVMAP_IOC_PARAMETERS to return nvmap handle's
contig; Phys_Contig
import_id; NA
handle;
heap_number; Only valid for IVM carveout
access_flags; NA
heap; Heap Type
align; Alignement
coherency; Coherency flag
size; Handle Size
Bug 3038325
Change-Id: I6fcfce7c3808e21084b543fa87ff8e48431b19f5
Signed-off-by: puneet saxena <puneets@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2368252
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Kai Zhang (SW-TEGRA) <kazhang@nvidia.com>
Reviewed-by: Tuomas Kulve <tkulve@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds generic hardware timestamping (GTE) support for the T194 SoC.
There are certain applications like robotics which may require more
accurate recording of the occurance of the certain events. GTE driver
will help monitor AON GPIOs and LIC interrupts.
GTE driver also implements char driver for userspace to monitor GPIO
through IOCTL.
Other kernel APIs are exported and defined in the tegra-gte.h file for
kernel client drivers to use. APIs are not stable and subject to change
in the future. It is for this reason GTE driver is provided in the
staging directory.
Since its APIs are not stable, it should not break existing nvpps driver
code from the stage-main which also uses GTE but in limited way. It is
for this reason this driver will not be selected if nvpps is enabled.
Bug 2757864
Change-Id: I0947f2b90232eb6c2a31163e33ec5ad45b7bd415
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2287452
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tegra-profiler:
- Support Carmel uncore perfmon events.
- Remove obsolete pl310 code.
Bug 2847789
Jira DTSP-6023
Change-Id: I41209b1b6bd17ace40be1190ce84de51548d9609
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2293698
(cherry picked from commit f26da26a3c3ac62ad919eb8f577fdea0bf15cb68)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2294398
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modified the commit e4163dbef1719b52b2d04782778767d313f37cdc
After installing the user space headers using make headers_install,
We do not have an uapi as a top level directory. Hence we must
include from the regular path linux|media|misc|video within the user
space header files.
Bug 2806057
Change-Id: I2f32a32814ac5347769177428717da7e7098147d
Signed-off-by: Ankit Patel <anpatel@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2289667
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add NvRmMemQueryHeapParams to return Heap params
such as total size, free size..
Bug 200555794
Bug 200565027
Bug 200564460
Change-Id: I7e002a3264ffe2df8c95a037f157482dbd78bbff
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2209555
(cherry picked from commit e5039360df4e5695fb388f7302b8d8670094190d)
Reviewed-on: https://git-master.nvidia.com/r/2232110
Reviewed-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tegra-profiler capabilities: add cpufreq flag.
Bug 2694772
Jira DTSP-1151
Change-Id: I0fc2503339ff796a9bdbaa9984f581edd1308613
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2189809
(cherry picked from commit 32ab6849716cb24243d29140df85f92c01fca356)
Reviewed-on: https://git-master.nvidia.com/r/2211141
GVS: Gerrit_Virtual_Submit
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a couple of sampling flags: timer/sched-out.
- Fix timestamps for sched-out samples.
Bug 2673543
Jira DTSP-4087
Jira DTSP-4395
Change-Id: I8e029cacdd4fbb73d27306db4889572d9f8b0a86
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2171321
(cherry picked from commit 411897429de57e90392b6ef327a10bd1e4b59dcf)
Reviewed-on: https://git-master.nvidia.com/r/2184594
GVS: Gerrit_Virtual_Submit
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add pva_fence type
Jira PVA-1704
Change-Id: I9db775a6aa47537ede72b840174d8cd35bc87430
Signed-off-by: Omar <onemri@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2146024
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Colin Tracey <ctracey@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@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/2193694
Reviewed-by: Nitin Pai <npai@nvidia.com>
Tested-by: Colin Tracey <ctracey@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This driver handles notification from watchdog server monitor for
any of the guest WDT expiry. It propagates notification to the
user through character driver user interface. Application can
take appropriate action on the notification and update the driver
on the action. Since this driver is running on privilege guest,
it doesn't handle WDT expiry of the privilege guest. WDT expiry
of the privilege guest needs to be handled outside Tegra.
Bug 2565917
Change-Id: Ie32fc8aeaf0e723b3616f5efbd6bdb272aed5c62
Signed-off-by: Hardik Tushar Shah <hardikts@nvidia.com>
(cherry picked from commit 3c6681b534068ce3d2d51c587927e68ba6678b48)
Reviewed-on: https://git-master.nvidia.com/r/2146288
Reviewed-on: https://git-master.nvidia.com/r/2142725
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin <dpervushin@nvidia.com>
Reviewed-by: Phoenix Jung <pjung@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <mharwell@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2145521
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the linux tegra_cpc user-interface headers from
include/linux/ to include/uapi/linux/
Change the path for above headers in the dependent files.
Bug 2062672
Change-Id: I674909f3188a746f3283b2e92296d9c18a2e767c
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1956560
(cherry picked from commit 1373b074d8a76869e143337caeba5d42d213e43f)
Reviewed-on: https://git-master.nvidia.com/r/2109985
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new header file nvmap in include/uapi/linux/. The new file has
IOCTL definitions which is moved from include/linux/nvmap.h.
Bug 2062672
Change-Id: I87b5cc8e8a6b80168550b8033e98a5e719677fa8
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2071430
(cherry picked from commit 2282a431b61ced655738f73fd4cf6d0df276b3c1)
Reviewed-on: https://git-master.nvidia.com/r/2109951
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Header file nvpps_ioctl have IOCTL definitions, so move the headers files
from include/linux/ to include/uapi/linux.
Change the path for header in dependent c files.
Bug 2062672
Change-Id: I50a3d27978926db0088cb49a30c33eeac46bf83b
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110163
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the linux user-interface headers from include/linux/
to include/uapi/linux/.
Change the path for above headers in the dependent files
Bug 2062672
Change-Id: I2e116dc8f6c33f53c03fb56b923931b6e600b534
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1953709
(cherry picked from commit 965ceca35c92eba011163f4c637b3b9e0f073f1a)
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110116
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move nvhvivc_mempool_ioctl header file from include/linux/ to
include/uapi/linux/.
Change the path for above header in the dependent file.
Bug 2062672
Change-Id: I3120e2d5aeb61be891709dc04193a87e6784df0d
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2029838
(cherry picked from commit 7abd341a471f870a8cfac1641c0e81f91a3f8ea3)
Reviewed-on: https://git-master.nvidia.com/r/2109962
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add task COMM events:
- Add support for quadd_event_comm() callback.
- Send task COMM events to userspace.
Bug 2514095
Jira DTSP-2432
Change-Id: Id5b92f544497b69098e3b16bf82baf0f6abb77e1
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2027490
(cherry picked from commit a0c0d3bf9eeabbdad2a43b768235e1cc846b04ef)
Reviewed-on: https://git-master.nvidia.com/r/2093405
GVS: Gerrit_Virtual_Submit
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Creating new file tegra_profiler.h in include/uapi/linux/.
The File has uapi definitions which copied from linux/tegra_profiler.h.
Removing the IOCTL definitions in linux/tegra_profiler.h.
Bug 2062672
Change-Id: I0e756617cd4e55c03dc6013c9aff3d74d0c1232b
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2027220
(cherry picked from commit 700cc51c4e2e91f914455622477f004adcb22ada)
Reviewed-on: https://git-master.nvidia.com/r/2093404
GVS: Gerrit_Virtual_Submit
Reviewed-by: Roman Rybalko <rrybalko@nvidia.com>
Tested-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the shim driver mode, RM needs to perform a graceful shutdown of
NVLINK during RM unload. Export the following T19x NVLINK endpoint
IOCTLs for shim driver NVLINK shutdown:
- INTERFACE_DISABLE IOCTL: Disables the NVLINK aperture
- FINALIZE_SHUTDOWN IOCTL: Does shutdown related SW cleanup
Bug 2113729
Jira NVLINK-173
Change-Id: I60e3f5fffd0b1e6cc87476b047ef1b761b5174d1
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1714177
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tegra-nvlink-uapi.h is used by nvrm_gpu, and is causing some MISRA
violations.
A number of MISRA C++ 2008 rules require U suffix for unsigned
numbers.
2-13-3 A "U" suffix shall be applied to all octal or hexadecimal
integer literals of unsigned type.
5-0-4 An implicit integral conversion shall not change the signedness
of the underlying type.
5-0-21 Bitwise operators shall only be applied to operands of unsigned
underlying type.
Bug 1777616
Change-Id: I02f8b8798b6cc223e0708ff16cef0a18c80856be
Signed-off-by: Timo Suoranta <tsuoranta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1710529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The VI/ISP eventlib traces currently write into existing
eventlib HW nodes in sysfs. In order for upstream applications
such as TSP to process these events correctly they need to
conform to the schema already defined for these nodes.
Consequently, this change updates the VI/ISP task_begin/end
traces with the correct nvhost schema.
* Adds the missing required task_submit event.
* Adds missing class_id fields for t194 VI & ISP required by TSP
for trace categorization.
Bug 1963015
Change-Id: Ice550b1e3d6a8159eef944663ff1e43484182f27
Signed-off-by: Ian Kaszubski <ikaszubski@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1724044
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chinniah Poosapadi <cpoosapadi@nvidia.com>
Reviewed-by: Ruicheng Dai <rdai@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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This merges hmm patches into our dev-kernel-4.9
tree.
Contains
hmm-v25-4.9 patches from the upstream
Patches which resolve build issues
Bug 200325808
Change-Id: I7718658b6fdaf075b82300752b0f70f678166134
Signed-off-by: Ishan Mittal <imittal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1548372
Reviewed-on: https://git-master.nvidia.com/r/1708110
Reviewed-by: Prateek Patel <prpatel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Tested-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support in the Tegra NVLINK endpoint driver for interfacing with the
RM shim driver. Interfacing with RM is necessary in order to enable GPU
MODS NVLINK testing of Tegra+dGPU topologies.
Jira NVLINK-147
Bug 2090322
Change-Id: I75e23df7293ce0c9157152a7035372d2e080ef41
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1696116
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Tested-by: Petlozu Pravareshwar <petlozup@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Restructure the Tegra NVLINK IOCTL framework as follows:
- Create an IOCTL struct for storing details about an IOCTL
- Create an array of IOCTL structs and add entires for all existing
IOCTLS
- Simplifiy the ioctl() function so that it uses the IOCTL struct
array to handle all IOCTLs
Cleanup IOCTL code as follows:
- Add more error handling to the ioctl() function
- Remove link ID and mask hardcoding in IOTCLs
- Add "tegra" prefix to IOCTL enums which were missing this prefix
Jira NVLINK-146
Bug 2090322
Change-Id: Iab4b512f0cc12b705445967217e3535789d16cab
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1696115
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Tested-by: Petlozu Pravareshwar <petlozup@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change-Id: I543375fc495dbc464ea0ca3f4a4a6dcf0ccf94ae
Signed-off-by: Lael Jones <lajones@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1692160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sami Kiminki <skiminki@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change-Id: Ib00174936b8a34685ac921ad51b2a34981609250
Signed-off-by: Lael Jones <lajones@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1690224
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
L3 cache configuration should be read only to userspace.
As /dev/l3cache device node can be updated by root user and
read only by rest of the users, making this ioctl as read only.
Bug 200381517
Change-Id: Ie349a5806bac64f390578b729a282517dcc81aa9
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1661369
Reviewed-by: svcboomerang <svcboomerang@nvidia.com>
Tested-by: svcboomerang <svcboomerang@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Below updates are made to tegra nvlink ioctl header file:
* tegra-nvlink-mods.h file is moved to include/uapi/linux/
* Rename tegra-nvlink-mods.h file to tegra-nvlink-uapi.h
* Use specific macros like _IOR/_IOW for read-only/write-only IOCTLs.
* Every name in header file should have a "tegra_" prefix to avoid name
clashes with RM enums/structs/ioctl names.
JIRA NVLINK-152
Change-Id: Ic3509470b425c37a6f96918de873f32602c32f23
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1659849
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change updates the ioctl for fetching the driver/PVA
characteristics to return the firmware version and PVA
driver submission mode.
JIRA PVA-863
Change-Id: I5b8d39f8306d68730460b90c28d7da6ee4c2f72d
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1642064
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pull vi and isp trace events from rtcpu-trace driver and log
the events to eventlib for TSP tracing support.
Bug 1963015
Change-Id: I398c1b8c9ce01dfd7c5857285ae4e48058826695
Signed-off-by: Songlin Yang <songliny@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1641384
Reviewed-by: Shiva Dubey <sdubey@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: Ruicheng Dai <rdai@nvidia.com>
Tested-by: Ruicheng Dai <rdai@nvidia.com>
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds frequency scaling support to PVA. The change allows
differnt PVA users to request minimum frequency or bandiwdth requirement.
This frequency is then propagated to all PVA clocks (R5, VPS0 and VPS1).
nvhost implements clock scaling by:
* Going through all bandwidth requests and summing them up
* Going through all minimum requests and taking maximum over them
* Taking maximum of summed bandiwdth requests and minimum frequency
requests.
JIRA PVA-101
Change-Id: Ib895ffd7eafe3379b097ade740750a2d99464b73
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1628404
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |\
| |
| |
| |
| |
| |
| | |
Bug 200363166
Change-Id: Id0fcee1cc01fe1648afe7e3f2d44f820563898ca
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding functionality to expose the function table to the userspace.
Also adding functionality to expose the function table along with its
id.
JIRA PVA-144
Change-Id: I930545e06e3954f22c95b5734ed5e13eeef67af3
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1585418
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds an opaque data type for passing information from
userspace to firmware. The data type replaces the existing
"pointer" data type with a new type that supports delivering
payload as part of the task.
JIRA PVA-302
JIRA PVA-538
Change-Id: If290ae7809cb4603693510a0d0a14b11a1380258
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1541232
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2d point and ROI data types were never used by userspace or supported
by PVA. Therefore, remove these data types in favor of pointers.
JIRA PVA-302
JIRA PVA-538
Change-Id: I053a17fe5189fd1b8040408f4733eae8dfdef11b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1541231
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
|