| 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
upstream library needs to get the active SOR
instance
bug 2219364
Change-Id: I79b5fb9ae690037ac98f7e46b053da14d4322c63
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1776730
(cherry picked from commit 206d44dcbd84f933e9d2bb7f0f7c532b5b3ed632)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2313884
Reviewed-by: automaticguardword <automaticguardword@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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moved mods.h to uapi directory as per Linux user-space ABI to give
userland access of mods.h
* Update SPDX license header.
Bug 2657961
Change-Id: I65f4a8ff48c534144afc5aca7ce556dcc82d9342
(cherry picked from commit a525dd043ba3fc98d7f8fd9d5d1509c39df2b005)
Signed-off-by: Ankit Patel <anpatel@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2315156
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
copied/moved/modified headers from the driver directory to the
include/uapi directory, which have IOCTL components required to
get access from user space as per Linux kernel user-space ABI.
Bug 2657961
Signed-off-by: Ankit Patel <anpatel@nvidia.com>
Change-Id: Ie70b2839e0a1031a685ff3e4bb93c73741645f44
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2317530
Reviewed-by: automaticguardword <automaticguardword@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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
copied/moved/modified headers from the driver directory to the
include/uapi directory, which have IOCTL components required to
get access from user space as per Linux kernel user-space ABI.
Bug 2657961
Change-Id: I4d95d95696961869a9b3ce255778958a38844d33
Signed-off-by: Ankit Patel <anpatel@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2301800
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: automaticguardword <automaticguardword@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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 DRM_TEGRA_UDRM_SEND_CONNECTOR_STATUS_EVENT ioctl to generate
a uevent for connector status property change. user space calls
this ioctl with connector id and property id related to the
status change.
Bug 200577678
Change-Id: I079a7ebbc2c11ad6e6c7003df6eab57817161e26
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2266101
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Kiran K <skirank@nvidia.com>
Tested-by: Sai Kiran K <skirank@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 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add new tegra_dc_ext_control_output_type output
interface TEGRA_DC_EXT_HDSI that denotes DSI is a
hotpluggable external interface like HDMI/DP.
Bug 1912157
Bug 200317394
Change-Id: Ia335188c764719d96cf6848d82454c644975cc15
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1517919
(cherry picked from commit 03ad9bc56deb61c74199bf30f0f8e0d8665bb35a)
(cherry picked from commit f9c08f728ebb3a0cedb034a7c3023d3f15809952)
Reviewed-on: https://git-master.nvidia.com/r/2136237
GVS: Gerrit_Virtual_Submit
Tested-by: Ken Chang <kenc@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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File camera_device.h have IOCTL definitions, so move the file from
include/media/ to include/uapi/media/.
According to kernel ABI proposal, user-space headers should have
data type like __u8, __u16, __u32 instead of u8, u16, u32.
Change the path for header in dependent file.
Bug 2062672
Change-Id: Ib9f547d05f4927780fe20eb1a244c8d602c6d2f0
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2115283
(cherry picked from commit cc04ef1a7481278c3c77312c45c87832d58e7c1c)
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2116400
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new header files ov5693, ov10823, ov23850 in include/uapi/media/.
The files have IOCTL definitions which is moved from include/media/.
Bug 2062672
Change-Id: I33e31983d05a00bf77b6a16b390267d8de733e8a
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2072469
(cherry picked from commit 1c28847f23edb53026f9b8e3c1585567553900d8)
Reviewed-on: https://git-master.nvidia.com/r/2114269
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new header files imx219, imx274, imx318 in include/uapi/media/.
The files have IOCTL definitions which is moved from include/media/.
Bug 2062672
Change-Id: Idd6633d5b9222e13ac27ec3d429184166e0fd4b4
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110009
(cherry picked from commit 21d478e9a75c3cf7008b291b291517f8fb976efe)
Reviewed-on: https://git-master.nvidia.com/r/2113721
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move compat_saf775x_ioctl header file from drivers/misc/saf775x/ to
include/uapi/misc/.
Change the path for header in dependent c files.
Bug 2062672
Change-Id: I959d16b8b56214cf2db83c05f181faf1def2a1e1
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2032464
(cherry picked from commit 07d3aa875210c2f833a60afa5fb5c546a33d29d7)
Reviewed-on: https://git-master.nvidia.com/r/2109958
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move ote_protocol.h file from security/tlk_driver/ to
include/uapi/misc/.
Bug 2062672
Change-Id: I6d88e167382d2902bfb54b2ae8a65d7b808b7351
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2031862
(cherry picked from commit 37bbad13036fa4cfeeb3347919db3f825fe8dbc2)
Reviewed-on: https://git-master.nvidia.com/r/2109947
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new header file saf775x_ioctl.h in include/uapi/misc/. The new
file has IOCTL definitions which is moved from drivers/misc/saf775x/.
Bug 2062672
Change-Id: Id180b15964d3e3a89da85a9117586b8b79ab641a
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2077102
(cherry picked from commit 8c2f5f580dadb73e12b1a1866c8c4f267c6d0594)
Reviewed-on: https://git-master.nvidia.com/r/2109932
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 tegra-cryptodev header file from drivers/crypto/ to
include/uapi/misc/.
Change the path for above header in the dependent file.
Bug 2062672
Change-Id: I738fc7e9425f251372c38573c7f23c89be059a15
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2029283
(cherry picked from commit 2c27305ca4404483d0a356636594ebeeedf53fc3)
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110150
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 the video user-interface headers from
include/video/ to include/uapi/video/
Change the path for above headers in the dependent files
Bug 2062672
Change-Id: I95a6112097e85efea8fbc7327fbda803de7d2432
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1943977
(cherry picked from commit bd3eb3e84b4e34e85d9d04f32fffe34fea2174de)
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110044
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 media user-interface headers nvc_image from include/media/
to include/uapi/media/.
Created new headers nvc_ioctl and tegra_camera_platform_ioctl in
include/uapi/media/ with uapi definitions. Modify headers nvc and
tegra_camera_platform in include/media/ with non-uapi definitions.
Change the path for above headers in the dependent files.
Bug 2062672
Change-Id: I073ea722b6b44f1be4b37297ced2fc6d7eb35250
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1961518
(cherry picked from commit 4d9b3703c0b71ac28322db7a92e1a5a1fb6d2b10)
Reviewed-on: https://git-master.nvidia.com/r/2110004
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 driver adsp_console_ioctl.h user-interface headers from
drivers/platform/tegra/nvadsp/adsp_console_ioctl.h to
include/uapi/misc/
Change the path for above headers in the dependent files.
Bug 2062672
Change-Id: I7337c0fc03a75101b4276773368a7c4eccd25960
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1956612
(cherry picked from commit 0c4e03013ebc5a94f4bddff10709edf9ccc1a90a)
Reviewed-on: https://git-master.nvidia.com/r/2109982
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 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move eqos_ape_ioctl header file from drivers/misc/eqos_ape/ to
include/uapi/misc/.
Change the path for above header in the dependent file.
Bug 2062672
Change-Id: I471da15bcc8ecad1cec2855421bf88469737275a
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2030422
(cherry picked from commit d5a783f1c86c9063d2e2bf9085376d20f028c7e4)
Reviewed-on: https://git-master.nvidia.com/r/2109960
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new headers isc-dev and isc-mgr with uapi definitions in
include/uapi/media/. Modify headers isc-dev and isc-mgr with non-uapi
definitions.
Bug 2062672
Change-Id: I3fda6161459a1d8aa6ef76d0b57584379da5cf45
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2031556
(cherry picked from commit 07b6890814d9aecdc128c67a93ff33f67baa870b)
Signed-off-by: Anuj Gangwar <anujg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110214
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add DRM_TEGRA_UDRM_SET_MASTER_NOTIFY ioctl. In this ioctl acquire
reference to the internal eventfd context associated with eventfd
passed by user space. Signal this eventfd from driver's master_set
method.
Bug 200479257
Bug 200473544
Bug 2158091
Change-Id: I3b3518a5f33e948e5fafb829768692a0c8379fba
Reviewed-on: https://git-master.nvidia.com/r/#/c/2006490/
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
(cherry picked from commit 22603e26d309d694184deeccb52ca52326b4d7bd)
Reviewed-on: https://git-master.nvidia.com/r/2012016
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DRM_TEGRA_UDRM_DMABUF_MMAP:
Allocate id using idr_alloc. Associate dmabuf fd passed by user space
to this id. Return offset which user space will use in subsequent
mmap() by doing id << PAGE_SHIFT.
DRM_TEGRA_UDRM_DMABUF_DESTROY_MAPPINGS:
Find id associated with dmabuf fd, destroy that id and pointer
associated with the id.
DRM_TEGRA_UDRM_CLOSE_NOTIFY:
Acquire reference to the internal eventfd context associated with
eventfd passed by user space. Signal this eventfd from driver's
preclose method.
DRM_TEGRA_UDRM_SEND_VBLANK_EVENT:
Inject event sent by user-space into drm frame work using
drm_send_event().
DRM_TEGRA_UDRM_DROP_MASTER_NOTIFY:
Acquire reference to the internal eventfd context associated with
eventfd passed by user space. Signal this eventfd from driver's
master_drop method.
Bug 200473544
Bug 2158091
Change-Id: Idbc54f7ede2c70249d0a997f125903101877c62c
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1962785
(cherry picked from commit e4bdca8e2f86a712bdafaab319329d90c9dc221d)
Reviewed-on: https://git-master.nvidia.com/r/1991018
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alka Mohite <amohite@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 skeleton for tegra_udrm DRM driver. This driver adds Kernel DRM
support for user mode DRM driver on NVIDIA Tegra Soc. OSS DRM clients
(e.g. Wayland compositors) expects DRM driver node like
"/dev/dri/card0" and they do raw open()/close() on this node and
pass the obtained fd to UMD (in our case libdrm_nvdc.so). Clients
also tends to do poll()/read() and mmap(). To support this tegra_udrm
registers with DRM framework and provides following ioctls -
DRM_IOCTL_TEGRA_UDRM_DMABUF_MMAP :
To support mmap(), UMD issues this ioctl to send dmabuf fd to the
driver. Driver will return offset which user space can use in
mmap(2) on tegra_udrm device fd.
DRM_IOCTL_TEGRA_UDRM_DMABUF_DESTROY_MAPPINGS:
Clear stored dmabuf fds and offsets.
DRM_IOCTL_TEGRA_UDRM_CLOSE_NOTIFY :
In order to know when DRM client has called close() on driver fd,
UMD issues this ioctl with eventfd. This eventfd will be signaled by
the driver in .preclose method. When clear field in ioctl arg is set,
driver will no longer signal this eventfd.
DRM_IOCTL_TEGRA_UDRM_SEND_VBLANK_EVENT:
DRM clients do poll()/read() on driver fd to get vblank/pageflip
events. To dilever this events to clients, UMD issues this ioctl with
vblank event. Driver injects this event in DRM framework.
To prevent user-space from unintentionally inserting tegra_udrm.ko, we
add modeset module parameter. Driver's init will fail unless it is
inserted with modeset=1.
This driver can't be used with libdrm as UMD. It also doesn't support
ioctl() on driver fd
Bug 200473544
Bug 2158091
Change-Id: I2b463a61a968621f7ec18d788e19c218c5091f06
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1954618
(cherry picked from commit 2f14a005053b32790f6fbccaa91c5a0baec4fc4d)
Reviewed-on: https://git-master.nvidia.com/r/1956232
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|