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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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