Jerry Chang
7bca2b2466
tegra: rtcpu: revise copyright
...
incorrect use of NVIDIA Properitary License in Linux driver code
Bug 5197152
Change-Id: Id23b8cbd4fd6315664c77d7f42014206d1ef8d5c
Signed-off-by: Jerry Chang <jerchang@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3330623
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Jon Hunter <jonathanh@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-04-01 12:23:51 -07:00
Jerry Chang
63a08013a0
capture-ivc: fix multi-cam race condition
...
add semaphore to avoid multi-cam race condition
Bug 4425972
Change-Id: I6e01ccb0596efed32ed53618ccf80c1e751b4f29
Signed-off-by: Jerry Chang <jerchang@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3315501
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Anubhav Rai <arai@nvidia.com >
Reviewed-by: Shan Neng Chen <snchen@nvidia.com >
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
Tested-by: Shan Neng Chen <snchen@nvidia.com >
2025-03-19 02:09:49 -07:00
Laxman Dewangan
e3f7ab90e1
rtcpu: capture-ivc: Enable build for Linux 6.2
...
The driver of rtcpu/capture-ivc is modified to support
the new APIs of the IVC from core kernel using conftest.
Enable build of this driver.
Bug 4346767
Change-Id: I427bb8b7d5dad02e805d0707fb67e45772fead31
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3033024
(cherry picked from commit bf1cfb5fb4 )
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3053700
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Tested-by: Jonathan Hunter <jonathanh@nvidia.com >
2024-01-15 23:54:46 -08:00
Aniket Bahadarpurkar
3b116f7c1a
tegra: rtcpu: use separate thread for reading ivc
...
Using global work queue and its associated worker
pool to read IVC messages from RTCPU may lead to
capture timeouts if the worker thread is not able
to get cpu due to other higher priority threads in
the system. Hence use a separate RT thread to read
IVC.
Notes for nvidia-oot:
Use low fifo priority for worker threads to avoid
pre-empting the interrupt thread serving the HSP
driver.
Bug 200643334
Bug 3293029
Bug 3291799
Bug 4084364
Old-Change-Id: I5a3e749ec46fac1c7a2de74968169443f5cab939
Signed-off-by: Aniket Bahadarpurkar <aniketb@nvidia.com >
Signed-off-by: Pekka Pessi <ppessi@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2689827
(cherry picked from commit 18d670accc7960b0afbc7b58b339a323e424e010)
Change-Id: I48e22606e53d934d3788d524fd1f496d0f92a04a
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2939796
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Viktor Horsmanheimo <viktorh@nvidia.com >
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com >
Reviewed-by: Kalle Jokiniemi <kjokiniemi@nvidia.com >
Reviewed-by: Sudhir Vyas <svyas@nvidia.com >
Tested-by: Viktor Horsmanheimo <viktorh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-07-25 15:26:25 -07:00
Pekka Pessi
14032c34fb
rtcpu: capture-ivc: fix NULL check in tx
...
Move NULL check away from tracing wrapper.
CID 587876
Bug 3745813
Bug 3597603
Signed-off-by: Pekka Pessi <ppessi@nvidia.com >
Change-Id: Ibbdc4eae796f8633ab1c731d6dcaf49fd1d7023a
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2844424
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-01-17 10:56:20 -08:00
Pekka Pessi
942cfaa0ce
rtcpu: capture-ivc: add NULL check in tx
...
Check backpointer for NULL.
CID 10160552
Bug 3745813
Bug 3597603
Signed-off-by: Pekka Pessi <ppessi@nvidia.com >
Change-Id: Id653d7b5521d47d3c2f808ee2576eecda3c19a1f
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2844423
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-01-17 10:56:16 -08:00
Matti Ryttylainen
dd109353df
video: camera: Modify rtcpu modules for OOT tree
...
This patch modifies rtcpu modules to use new ivc headers,
resolves cyclic dependencies between the modules,
reduces the amount of modules built by linking them together
and fixes other minor issues encountered with K5.15
Change-Id: I9cf2672df08ffe6c4b8aea9ac21d6cc50a92bb4e
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2787121
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Pekka Pessi <ppessi@nvidia.com >
Reviewed-by: Frank Chen <frankc@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 11:00:42 -08:00
Frank Chen
304123a3bf
video: camera: Port RTCPU drivers to OOT tree
...
Port RTCPU drivers from kernel/nvidia to kernel/nvidia-oot.
In addition to copying the files this patch:
1) Modifies make files to build rtcpu drivers as modules
2) Modifies licenses of all ported files to SPDX
3) Adds MODULE_LICENSE macro to all modules
4) Removes checks for old kernel versions and the dead code after those checks
5) Fixes style errors according to checkpatch.pl
Change-Id: If64296a22ce958e5326c7509cb69f8f7154f598e
Signed-off-by: Frank Chen <frankc@nvidia.com >
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2783040
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Ankur Pawar <ankurp@nvidia.com >
Reviewed-by: Semi Malinen <smalinen@nvidia.com >
Reviewed-by: Pekka Pessi <ppessi@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-12-01 11:00:35 -08:00