Commit Graph

282 Commits

Author SHA1 Message Date
Chris Dragan
5014bffa1f misc: mods: update MODS driver from Perforce
Bug 1919226
Bug 1996694

Change-Id: I60699dfee31703f755d237d3524887c73b3c53bc
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1603096
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
dd5a891726 misc: mods: move the warning to the correct place
Print the warning that a diagnostic driver has been loaded to the place
where the driver is loaded, rather than printing it when someone opens
the device.

Bug 1955717

Change-Id: I26a1699423e302cd01f5683891df6e9ed06a9192
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1587034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Merget <dmerget@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Stephen Warren
58e42df824 nvidia: use kernel overlay features
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
135bf80925 misc: mods: update to version 3.78 from Perforce
Bug 1955717

Change-Id: I66e4d91555a0161e45f18e558277410ce17bd635
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1577854
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
4ba7812b29 misc: mods: add release function
Add dummy release function to prevent an error printed during module
unload.

Bug 200344064

Change-Id: Ifa92600e88c4152327079c37ec9ed581179c0860
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1551847
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2023-04-03 13:27:52 +00:00
Ishwarya Balaji Gururajan
a0c3b48960 video: tegra: dc: remove TEGRA_DC_INTERLACE
Since CONFIG_TEGRA_DC_INTERLACE is enabled by default, removing
CONFIG_TEGRA_DC_INTERLACE from the Kconfig and other places.

Jira TDS-2379

Change-Id: I58529a3e123eb99815f77f8420ae60e493eec07a
Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1530092
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Ishwarya Balaji Gururajan
51d3348251 video: tegra: dc: remove TEGRA_DC_SCAN_COLUMN
Since CONFIG_TEGRA_DC_SCAN_COLUMN is enabled by default, removing
CONFIG_TEGRA_DC_SCAN_COLUMN from Kconfig and other places.

Jira TDS-2379

Change-Id: I7c4beb7c6ad725edefe852dfe5962e118d4dcfbf
Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1529916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
1bc2ff7f74 misc: mods: use kmap when clearing cache
Map pages to kernel space when clearing memory ranges requested
by userspace.  This now seems to be required to clear cache on
kernel 4.9.

Use kmap_atomic assuming that cache clearing does not sleep.

Change-Id: Id1e5f615b41cc46801889766edf73ba34c6346c1
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1528123
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2023-04-03 13:27:52 +00:00
Ujwal Patel
79dc897560 dc: remove TEGRA_DC_BLENDER_GEN2 ifdef
TEGRA_DC_BLENDER_GEN2 configuration is enabled always if TEGRA_DC
configuration is enabled. And TEGRA_DC configuration is a must for
display to work. So TEGRA_DC_BLENDER_GEN2 ifdef is not needed and
can be safely removed to reduce ifdefs in display driver.

Change-Id: I4e1fde93d7b515a26bc6ce0b00915440dc30b13d
Signed-off-by: Ujwal Patel <ujwalp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1524810
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Anshuman Kar
d7d3025725 dc: add support for SW defined color formats
Due to implementation of SW formats which extend the display
color formats beyond 0xff, the format masks as well as the
byteswap masks have to be updated.

This change updates the following:

 - Marks all SW defined formats as starting from 0x100
 - Shifts all the byte swap masks to start at 0x10000
 - Updates the SW and byte swap masks
 - Updates the functions which classify yuv, planar and semi
   planar formats
 - Add the SW defined formats to the feature table listings
 - Add SWAP_UV for vertical chroma subsampled formats
 - Removes the SWAP UV flag
 - Add sanity checks for SW defined formats in the kernel

Bug 1904472

Change-Id: I18f6cf69610e5bff206fa6b1336f63ee9a9a7424
Signed-off-by: Anshuman Kar <anshumank@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1517747
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 13:27:52 +00:00
Jay Bhukhanwala
870835a292 dc: nvdisp: crc: Rename legacy APIs
Add "sysfs" qualifier to existing API names for CRC to avoid
confusion with newly added tegra_dc_crc_* and tegra_nvdisp_crc_*

Bug 1858958

Change-Id: I9045ef494a0e56222d7d2555e19975f5f2bdbbeb
Signed-off-by: Jay Bhukhanwala <jbhukhanwala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1521973
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ujwal Patel <ujwalp@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
9f0eb7f789 misc: mods: update MODS driver from Perforce
Bug 1949265

Change-Id: If7e55bcbf181d0b230a792ff0f557000482598df
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1517878
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
324b7be6e5 mods: remove direct references to SMMU driver
Change-Id: I31d82ee0d9154b21f7531f4ed1e8b6cd45ded64c
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: http://git-master/r/1498461
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
6f6d38097a misc: mods: fix compilation with k4.9
Cleanup to drop support for legacy Tegra clocks.

Bug 1934094

Change-Id: Ifce57363ff4474f24587d336c84e360596e22f9b
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: http://git-master/r/1494043
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Timo Alho <talho@nvidia.com>
2023-04-03 13:27:52 +00:00
Chris Dragan
1f6ca0cb27 misc: add mods driver
* copy driver sources from kernel-4.4 repository
* sync with copy in Perforce
* fix several formatting errors
* fix issues reported by Coverity

Bug 200295104

Change-Id: I0a37cd12041d8fdcafb72b2e67d1a9234320e11b
Signed-off-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-on: http://git-master/r/1487057
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-by: Kiran Kasamsetty <kkasamsetty@nvidia.com>
2023-04-03 13:27:52 +00:00
Laxman Dewangan
d6eb4eaa82 misc: mods: Remove Makefile to prepare for mods integration
mods driver is available in the kernel/nvidia and to
integrate with git history, it is required to remove the
dummy Makefile.

Bug 4038415

Change-Id: Ib66eab27e6168bf416df2f73c8df4a4a50af39f8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-03 13:26:29 +00:00
Jon Hunter
fee7e399b9 drivers: Disable broken drivers for Linux v6.3
Several drivers fail to build with Linux v6.3 due to upstream changes in
the Linux kernel. Disable this drivers until a fix is in place.

Bug 4014315

Change-Id: Iddd2c1e552c92311a982ff91837cef6377a947d6
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2867129
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rohit Khanna <rokhanna@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-22 03:25:09 -07:00
Manikanta Maddireddy
935afd5256 PCI: Fix typecast warnings
Sparse tool identified below sparse errors because ioremapped PCIe BAR MMIO
range is typecasted to a strcture and dropping __iomem. Fix these error by
forcing the type cast.

tegra-pcie-dma-test.c:102:43: warning: cast removes address space '__iomem' of expression
tegra-pcie-dma-test.c:137:43: warning: cast removes address space '__iomem' of expression
tegra-pcie-dma-test.c:149:30: warning: cast removes address space '__iomem' of expression
tegra-pcie-dma-test.c:309:21: warning: cast removes address space '__iomem' of expression
tegra-pcie-dma-test.c:90:43: warning: cast removes address space '__iomem' of expression

Bug 3954363

Change-Id: I0ce421b72f43eeec0dbd497bf9d34ad05f7f91cc
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2870577
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-17 04:12:39 -07:00
Joshua Cha
d22a9b34c6 misc: nvsciipc: fix auth token validation API
In NvSciIpcEndpointValidateAuthTokenLinuxCurrent(),
It returns incorrect VUID due to partial string match in corner case.
If string length of device node name is different from the size return of
snprintf(), it skips comparing strings.
Enable debug cmd to test NvSciIpcEndpointValidateAuthTokenLinuxCurrent() and
NvSciIpcEndpointMapVuid() since they're kernel APIs.

remove one time update limit of SET DB cmd.

Added missing updates in nvidia-oot.

Bug 3928121

Change-Id: I13cc1927e817a124722156cffa0b391c95c7d28e
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2850945
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Kurt Yi <kyi@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-06 10:53:39 -08:00
dbadgaiyan
38371d55ab drivers: misc: Fix sparse issues
poll() expects return as __poll_t which is defined as
unsigned __bitwise.
returning poll mask directly leads to sparse warning.
fix sparse warning by typecasting masks explicitly.

Bug 3954363

Change-Id: Ic7717765831f4014cdc2cdb5f6d1fd77186d8a75
Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2861400
Reviewed-by: Arihant Jejani <ajejani@nvidia.com>
Reviewed-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-02-24 04:06:26 -08:00
Manish Bhardwaj
dee4d41861 nvidia-oot: add support for recovery kernel
Stop compilation for nvidia-oot drivers, whose
core kernel support is missing in recovery
kernel.

Bug 3863448

Change-Id: I36f09f74d4448af4b13eeebaaeadc53c3f83e002
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2856892
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-02-23 22:53:00 -08:00
dbadgaiyan
55cee03ee7 drivers: misc: Fix coverity issues
Fix 2 coverity issues.
CID 10165044
CID 10165045

Bug 3952896

Change-Id: Ide19b44148c9e438284de45aa309c7cdc9e2d2e1
Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2850604
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Arihant Jejani <ajejani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-02-04 02:30:44 -08:00
dbadgaiyan
f2088fd15d misc: nvscic2c-pcie: Update nvscic2c-pcie license
Modify nvscic2c-pcie files to use updated licenses
as per nvidia-oot.

Bug 3739487
Jira C2C-826

Change-Id: I819b459fdb0743d37bc08b4c9b92097d87e62884
Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2830686
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Arihant Jejani <ajejani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-22 20:29:46 -08:00
Joshua Cha
7f189297bd nvsciipc: use CONFIG_TEGRA_VIRTUALIZATION
Use CONFIG_TEGRA_VIRTUALIZATION to remove dependency on
ivc-cdev.ko and tegra_hv.ko in native Linux.

Bug 3861841

Change-Id: I671a0eec76713715d7fc79cb730aeaa7ab460043
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2830878
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: Kurt Yi <kyi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-21 06:30:46 -08:00
dbadgaiyan
4adc5c8fb4 drivers: misc: add nvscic2c-pcie in OOT
nvscic2c enables xfer between two SoC connected over PCIe.
nvscic2c already available with K5.10

Major changes in nvscic2c-pcie for K5.15:
 Integrate with upstream PCIe endpoint function changes.

 Allocate new IOVA domain to be used for
 empty IOVA allocation.
 This IOVA range would be used in iommu_map() to map
 physical backing with IOMMU domain attached in PCIe device.

 Migrate from nvhost to host1x and tegra-drm interfaces.

Bug 3739487
Jira C2C-826
Jira C2C-830

Change-Id: Ic4d8ac680921807fb17247855ca7037623681cb7
Signed-off-by: dbadgaiyan <dbadgaiyan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2810806
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Arihant Jejani <ajejani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-15 20:52:33 -08:00
Joshua Cha
fdbb8a0e96 nvsciipc: add nvsciipc to kernel-oot
nvsciipc driver shall be added to oot driver list
so as to use hv-ivc.h header file.

Bug 3861841

Change-Id: I1884fba6ec497ec23680217c70e44f7a251ebfaa
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815697
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-by: Kurt Yi <kyi@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-30 00:00:04 -08:00
Manikanta Maddireddy
ca4a540fa4 PCI: Fix invalid cookie pointer
Invalid ccokie pointer is passed to tegra_pcie_edma_deinit(),
this is causing kernel BUG during remove. Pass correct cookie
pointer to fix this issue.

Bug 3731327
Bug 3877429

Change-Id: I477375ea8fab602ae144367c37b38cf34174f4c5
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2756657
(cherry picked from commit 4b07d745cfec95a93ef1f33e256a9ea747d8b8d8)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815928
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-29 04:17:23 -08:00
Manikanta Maddireddy
319fa69bd5 PCI: Add data integrity check for PCIe DMA
Add CRC check after PCIe DMA to verify data integrity.

Bug 3636902
Bug 3868928

Change-Id: If497ce769571c6c837acbfbbb64b2242dfabef26
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2718787
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2720336
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815927
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-29 04:17:18 -08:00
Revanth Kumar Uppala
7fc04f1749 BT: Add bluedroid_pm driver support for K5.15.
Bug 3750163

Change-Id: I7747bbcc8192cb1302e6650af24cade048cf5a0f
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2765115
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-11-29 04:03:38 -08:00
Laxman Dewangan
b3bf23581b mods: Add mod driver to build as module
Add OOT module build for mods. The driver code
of mod is used from kernel/nvidia and get copied
to build time in nvidia-oot for building as module.

Bug 3725913

Change-Id: I975f269c8305edcc87d6e3bc02e6b46761245315
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2755859
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-08-05 06:30:25 -07:00
Nagarjuna Kristam
4489bd305a misc: Add pcie dma test client driver
Add PCIe DMA test client driver from Nvidia repo

Bug 3583632

Change-Id: I68393ccc6d8d79ffa8e29b8596d1d5174299a940
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2736249
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-07-05 14:32:11 -07:00
Laxman Dewangan
995c108438 nvsciipc: Add support to build as module with OOT kernel
Add support to build the nvsciipc driver as module with
OOT kernel.

The source file and makefile for building the nvsccipc driver
as module is copied from kernel/nvidia in build time.

Bug 3583631

Change-Id: I70f16496948c69bc8cd4c96155f00d1ed03390e7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2713487
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-05-20 00:09:04 -07:00