Commit Graph

1812 Commits

Author SHA1 Message Date
Prafull Suryawanshi
819e83a8e3 video: bridge: max_gmsl: add superframe support
This change adds symmetric superframe support to maxim
gmsl dp serializer driver. This includes below -

1. Read device tree properties associated with superframe feature.
2. Calculate values for register from timings parameter.
3. Hardcode few values for 1080p mode as formula to calculate those
   not yet available.
4. Sanity check as only X-Y or Z-U dual view possible with current support.

Device tree settings which needs to enable

1. Superframe structure in display-timings structure like below

superframe-info {
    pipe_x_view: view-0 {
            x = <0>;
            y = <0>;
            width = <1920>;
            height = <1080>;
            hfront-porch = <24>;
            hback-porch = <40>;
            hsync-len = <16>;
            vfront-porch = <3>;
            vback-porch = <18>;
            vsync-len = <10>;
        };

    pipe_y_view: view-1 {
            x = <1920>;
            y = <0>;
            width = <1920>;
            height = <1080>;
            hfront-porch = <24>;
            hback-porch = <40>;
            hsync-len = <16>;
            vfront-porch = <3>;
            vback-porch = <18>;
            vsync-len = <10>;
        };
    };
};

2. Superframe video timings in maxim serializer node as below

superframe-video-timings {
	pipe-x {
		superframe-group = <0>;
		timings-phandle = <&pipe_x_view>;
	};

	pipe-y {
		superframe-group = <0>;
		timings-phandle = <&pipe_y_view>;
	};

	pipe-z {
		superframe-group = <1>;
		timings-phandle = <&pipe_z_view>;
	};

	pipe-u {
		superframe-group = <1>;
		timings-phandle = <&pipe_u_view>;
	};
};

Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Change-Id: I80b345f093c21a6e68ee75014eb337ecb579c85b
2023-04-11 04:35:05 +00:00
prafulls
104ecb7e09 video: bridge: maxim: enable GMSL3 and FEC
This change reads device tree property and enables
GMSL3 and GMSL FEC mode only for that corresponding
link. Earlier change was enabling GMSL3 and FEC by
default to both links.

JIRA TDS-10659

Change-Id: I92a0cc757d3ded1c5aa13e14ffbdfaa22a2da89c
Signed-off-by: prafulls <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2854454
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
prafulls
1760079334 video: dc: bridge: max_ser: fix resume error
The resume functionality of maxim gmsl dp serializer
driver calls init routine. Function incorrectly treats
register value as return value and shows error message
in logs. Removing return value check from register read
during init fixes this issue.

bug 3955858

Change-Id: Ibe2058a49827bdd802ea4b5f24be986c911450e6
Signed-off-by: prafulls <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2851087
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-11 04:35:05 +00:00
Prafull Suryawanshi
f466f3adb9 video: bridge: maxim: add GMSL3 and FEC support
This change adds GMSL3 support to maxim dp serializer
driver. The property is set in device tree which is if true,
then PAM4 mode is enabled and 12 Gbps link rate is set.

GMSL3 also needs to have FEC enabled. This change also
adds that support.

Device tree need to have "enable-gmsl3" property to be set
to get GMSL3 enabled.
When GMSL3 is enabled, it will enable GMSL-FEC by default.
GMSL-FEC can only be enabled by setting propery "enable-gmsl-fec".

JIRA TDS-10659

Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Change-Id: I1757f71babbc5135f0ddf3d2a501de721e84da6d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2831963
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
Jon Hunter
2332bac0d7 video: tegra: Fix TI serializer build for Linux v6.1
Upstream Linux commit ed5c2f5fd10d ("i2c: Make remove callback
return void") in Linux v6.1, updates the i2c remove callback to
prototype to return void instead of int. This is causes the TI FPDLink
DP Serializer driver build to fail for Linux v6.1. Update this driver to
fix the build for Linux v6.1.

Bug 3820317
Bug 3835208

Change-Id: I35c3ac90070b7324330c31dc69d06f53cecd5b67
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2831358
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
Prafull Suryawanshi
f452a0d7c6 tegra: dc: max_ser: configure HPD_IRQ
This change enables HPD_IRQ event of maxim serializer only
for "Loss of Training" and "Register control" events. It masks
other events to avoid unexpected HPD_IRQ events.

JIRA TDS-10786

Change-Id: I1c52d99f476bcf5dd9f31d00ab32f8953aec0333
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2829291
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
prafulls
b46348e227 nvidia: add driver for TI FPDLink DP Serializer
This change adds kernel driver for TI FPDlink DP Serializers.
The dp lane rate, dp link rate and viewport resolution
can be set from device tree.
Rest of registers are set using values given in reference
i2c script.

JIRA TDS-11129

Signed-off-by: prafulls <prafulls@nvidia.com>
Change-Id: I6dfc48794c9b2517fe6ed4e91552e46583f6288c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2822429
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
Jon Hunter
98f2ffc37e video: tegra: bridge: Fix build for Linux v6.1
Upstream Linux commit ed5c2f5fd10d ("i2c: Make remove callback return
void") in Linux v6.1, updates the i2c remove callback to prototye to
return void instead of int. This is causes the Maxim DP Serialize driver
build to fail for Linux v6.1. Update this driver to fix the build for
Linux v6.1.

Bug 3820317
Bug 3835208

Change-Id: I61f4f68e67a4adf9f1744d32f7686ea962876c15
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2820718
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
Mihir Pradeep Garude
1510420e8c nvidia: remove regulator header from maxim
Remove regulator header file from maxim display
port serializer driver.

JIRA TDS-11357

Change-Id: I31148a458a92adf31f00bec6386ade3b34b1b412
Signed-off-by: Mihir Pradeep Garude <mgarude@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2813426
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@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-04-11 04:35:05 +00:00
Prafull Suryawanshi
36a425b6f7 dc: bridge: maxim: remove GMSL lock worker thread
This change removes worker thread from serializer driver
which waits on both links to lock. If both links are not set
via DTS entry then it does not proceed further which causes
no video output.

As it is possible that one link can be connected to deserializer,
this does not require the worker to wait on link locks. So removing
worker thread and enabling video immediately fixes this issue.

bug 3727875

Change-Id: Ie427103a7d455201a4f783d690c6250b38a9113c
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2775207
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-11 04:35:05 +00:00
Yogish Kulkarni
9d71b422fc serializer: mask branch sink count change events
When ruining a few hundred loops of link training between the SOC
and the serializer, we are seeing unexpected HPD_IRQ being triggered
by the MAX96745/96851 serializers due to "Branch sink count change"
event. Till we figure out why this is happening, disable this
interrupt source.

Bug 3676822

Change-Id: Id56ff7d324b9a51f5468afb2d74df7856040056d
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2758859
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
prafulls
90579e82d5 video: tegra: bridge: Enable CRC check for MAX Ser
This change enables external video CRC check for
Maxim DP Serializer.

This change -
1. Enable video line CRC functionality by setting specific register bit.
2. Add interrupt handler check for remote CRC check failure.
3. Reverse GPIO tunnel and remote error check is already set.
4. If there are CRC error across GMSL link then dmesg spew will indicate it.

Verification -
1. Play some GFX application and view on monitor.
2. At DES side, using GUI, For register INTR8, set bit ERR_TX_EN to 1.
3. Clear exiting dmesg using "dmesg --clear"
4. On SER, using i2ccmd tool, Set bit LINE_CRC_EN to 0 at register 0x100.
5. Confirm on dmesg for error message like - "Remote deserializer error detected"

bug 3463178

Signed-off-by: prafulls <prafulls@nvidia.com>
Change-Id: Ieba2b19b7ce1a71173f6d34e61b1607f237cb1a5
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2753202
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
prafulls
02a15c114a video: tegra: bridge: Enable CRC check for MAX Ser
This change enables internal video CRC check for
Maxim DP Serializer.

1. This sets the bit to enable CRC functionality
   and then add handlers for ERRB CRC errors.
2. Reading register clears the error.
3. Error can be injected using i2c tool to write
   error inject bit in register.

Below is flow to verify CRC functionality
1. Run GFX application like bubble
2. Read VTX41 register and confirm VID_ASIL_CRC_ERR bit is not set
3. Inject error by setting bit VID_ASIL_INJ_ERR.
4. Verify dmesg errors.

bug 3463178

Change-Id: I25c07413eb81bb4b40f35e15b53a4102ec68fa9e
Signed-off-by: prafulls <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2751057
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Prafull Suryawanshi
3cffc5689c dc: bridge: maxim: add suspend-resume support.
This change adds support of suspend and resume
functionality to Maxim DP Serializer driver.

bug 3685062
JIRA TDS-10310

Change-Id: Idb010948a2af1c7912a177eabb56441fa9d340f6
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2741394
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit
(cherry picked from commit f1d3579fd695fb1b78e7a42447355d50906c7269)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2737003
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
2023-04-11 04:35:05 +00:00
Vishwaroop A
4088261539 dc: serializer: fix dt progamming in driver
Device tree has been updated to use
<0x0 0x0 0x1 0x1> instead of
/bits/ 8 <0x0 0x0 0x1 0x1>. Fix the
device tree parsing logic to fetch the
data correctly.

Bug 3645731

Change-Id: I51ce1194ffb4c71526d1d74a3a5dbbcfe2f18a51
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2713103
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Vishwaroop A
2ddc0b4649 dc: bridge: Add MST support of serializer
ADD MST support for serializer driver

Bug 3491734

Change-Id: Id616f58ba4f18bcb341c4ad48ba29562e09739ab
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2655657
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Prateek Patel
dd4ada9c90 drivers: dc: fix Coverity defect
Initialize value dev before calling dev_info and initialized value
fake_panel_mode.

CID 10129386

Bug 3461002

Change-Id: I9d49bbbe39d23deb609005a091d7c1ebb9e7113f
Signed-off-by: Prateek Patel <prpatel@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2660625
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Vishwaroop A
229e044bfe dc: bridge: Fail the probe if I2C read fails
Fail the probe in case if I2C read /write fails
to avoid skew of warnings whichs get generated
during boot.

Bug 3482867

Change-Id: I0a671bb911c7d0241bce430558c55b88a06ca521
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2644625
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-11 04:35:05 +00:00
Vishwaroop A
3b68f46c89 dc: bridge: add errb support for serializer
Enable the errb support by enabling the
gpio based interrupts.

Change-Id: Ifbe995df44211fe38cb15fa6e4df225e25e34156
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2639566
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Vishwaroop A
9cf42b295f dc: bridge: update link_select shift value
Add a macro to handle the shift value for
link select.

Change-Id: Id43090c3d9b3b72cae22286f2d1c85548e8b5a63
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2639102
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Vishwaroop A
fd94f1e4e4 dc: bridge: add link select option for serializer
Fetch the details of the VID_LINK_SEL from device
tree and program the VIDEO_TX0 registers based
on the specified link in the device tree.

Change-Id: I875ec719bc0fe3ab47772346290938ec79a9ce82
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2637509
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Vishwaroop A
baea684a65 dc: bridge: add maxim display serializer driver
Add driver for maxim display serializer.
 -Enable SST mode.

Change-Id: I717b3ed053a97e98deb3a5547e03dec085bf1e21
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2632453
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-11 04:35:05 +00:00
Laxman Dewangan
4f365f1336 kernel-src-copy: Remove copy of podgov and nvsciipc header
The drivers of podgov and headers of nvsciipc are
integrated from kernel/nvidia to kernel/nvidia-oot.
Hence, it is not required to do copy of the driver
during build time.

Bug 4038415

Change-Id: If368324bdbac8b2d67e05a167cb43bf0a6e89787
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2884651
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-08 05:56:32 -07:00
Gerrit Code Review
23e30b6908 Merge "nvsciipc: Merge headers from kernel/nvidia to kernel/nvidia-oot" into dev-main 2023-04-07 16:46:03 -07:00
Laxman Dewangan
013ae1a966 hwmon: Remove generic pwm tachometer
Remove HW monitor based generic PWM tachometer
driver as it is not required.

Along with driver, remove DT binding document and
dkms entry.

Bug 4061216

Change-Id: I28e1bf9d5223ad7f56332d90501ea7ddb55cd366
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2883862
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-07 00:12:26 -07:00
Laxman Dewangan
ed630178bb kernel-src-copy: Remove copy of tsec, drm
The drivers of tsec and drm are integrated from
kernel/nvidia to kernel/nvidia-oot. Hence, it is
not required to do copy of the driver during build
time.

Remove the copy of these drivers.

Bug 4038415

Change-Id: I60e3c7511bf18a9ecb2ce99a74754495cc009c0b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2883711
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-07 00:12:04 -07:00
Gerrit Code Review
44e857807a Merge "podgov: Merge podgov driver from kernel/nvidia to kernel/nvidia-oot" into dev-main 2023-04-07 00:11:31 -07:00
Laxman Dewangan
99b7173c94 nvsciipc: Merge headers from kernel/nvidia to kernel/nvidia-oot
Merge all nvsciipc headers required for the nvsciipc drivers from
kerne/nvidia to kernel/nvidia-oot to get rid of kernel/nvidia repo.

Merge remote-tracking branch
	'origin/dev/ldewangan/nvidia-nvsciipc-header-dev-main'
   into
	nvidia-oot-nvsciipc-header-dev-main

Bug 4038415

Change-Id: Ib0414977f650161cb32995d95192783086222146
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-07 05:43:24 +00:00
Simon Je
c6efef8f74 drivers: misc: Fix license in nvscierror.h
It is updated to be compatible with GPL license.

bug 3871403

Change-Id: I5a6a05b405d8eaa166d0f83d287fccc443a91115
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2828259
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-07 05:31:26 +00:00
Joshua Cha
efcc11fc9c misc: nvsciipc: add get vmid cmd
Bug 3813532

Change-Id: I4caa286d4aff5f9d4361b1b34da9bf3257275add
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2787605
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Kurt Yi <kyi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-07 05:31:26 +00:00
Joshua Cha
9766afdf51 misc: nvsciipc: support Inter-VM in auth APIs
1) nvsciipc KMD
* use IVC KMD to query peer VMID (ivc_cdev_get_peer_vmid).
* Support Inter-VM in NvSciIpcEndpointMapVuid().
* Added debugging ioctl cmds to debug in userspace level
- validate auth token
- map vuid
* Add peer_vmid to config entry and endpoint DB.
* Add IOCTL_GET_DB_SIZE cmd to return DB entry count

2) IVC KMD (ivc-cdev)
* Add ivc_cdev_get_peer_vmid() to return peer_vmid of qid.
* Add IOCTL_GET_VMID to return guest VM ID

JIRA NVIPC-390
JIRA NVIPC-394

Change-Id: I14634fd2d17c4a28b09b9a3f9f2d42c9169e0dfb
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2766220
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-04-07 05:31:26 +00:00
joshuac
ef59a0da4d misc: nvsciipc: update to support x86 build
Added missing fs.h to fix build error.
Added debug info for root user only.
Added alternative header path for x86 build.
Fixed NvSciIpcEndpointMapVuid() API.
remove mutex except for SET_DB IOCTL (lockless for read operation).
Added more ioctl commands.
 - NVSCIIPC_IOCTL_GET_DB_BY_NAME
 - NVSCIIPC_IOCTL_GET_DB_BY_VUID

JIRA NVIPC-227

Change-Id: I95fc6f9fff36c9c1df999b11109236b1b3481d62
Signed-off-by: joshuac <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2755193
Reviewed-by: Kurt Yi <kyi@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-07 05:31:26 +00:00
Suresh Venkatachalam
dadb881df5 misc: nvsciipc: increase endpt name max size to 64
Increase the endpoint name max size from 32 to 64
Increase the devname  max size from 32 to 64

Bug 3437754

Change-Id: Iaa0eef040fe8ad1ebca7309c0abd94a80f5fe42e
Signed-off-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2641680
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-07 05:31:26 +00:00
Abhijit
51ef39c2ab drivers: misc: Add nvsciipc kernel module
This patch adds nvsciipc kernel driver. At present its only use is to
support NvSciIpc secure buffer sharing use case across processes.

JIRA ESLC-4105

Change-Id: Ib2889d7c0c7a3928ad1e84c8dd58f3aa287c6185
Signed-off-by: Abhijit <abhijit@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2146877
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-07 05:31:26 +00:00
Manish Bhardwaj
364ae3ed23 mttcan: wait to flush CAN messages
Using this patch we are waiting for CAN messages
to get flushed before going to suspend during
sc7 cycle

JIRA ESLC-7354

Change-Id: Ie368fd9e6b119df71646bf5fddbd89ae2f7c5697
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2881872
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-06 10:16:08 -07:00
Gerrit Code Review
96d1f511c7 Merge "tsec: Merge the tsec driver from kernel/nvidia to kernel/nvidia-oot" into dev-main 2023-04-06 00:43:21 -07:00
Laxman Dewangan
0562f9cf1a kernel-src-copy: Remove copy of host1x, host1x-nvhost, tegra_gr_comm
The drivers of  host1x, host1x-nvhost, tegra_gr_comm are
integrated from kernel/nvidia to kernel/nvidia-oot. Hence,
it is not required to do copy of the driver during build
time.

Remove the copy of these drivers.

Bug 4038415

Change-Id: I94934e09835bad48a551109d9a68a2810b3b3209
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2882789
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-06 00:43:12 -07:00
Laxman Dewangan
9670f38765 include: nvhost: Add nvhost header file
Add nvhost header file include/linux/nvhost.h
copied from the kernel/nvidia as part of removing
nvidia-oot dependency on the kernel/nvidia.

Bug 4038415

Change-Id: I758f95f1295507ed57d89ea13d67877de6bf9bce
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2882788
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-06 00:43:08 -07:00
Ankur Pawar
2a2ce69017 media: add imx318 sensor driver
Add imx318 camera sensor driver code,
mode tables and makefile changes.

Bug 3583587

Change-Id: I9854909823b67856edc50c2364e519e853134178
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2870729
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-06 00:42:04 -07:00
Ankur Pawar
4ae4b2d2b2 camera: oot: use reg number as channel id
When parsing sensor DT, use vi input endpoint reg
number as chan id. And allocate as many tegra_mc_vi
objects as vi input endpoints.

Remove port index assignment when creating graph.
This can cause issue when csi port index is more
than MAX_NVCSI_STREAM_IDS(6).

Bug 3583587

Change-Id: Ida0b83797678dd7ecea2732d715dce0f1d3222ad
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2874225
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-05 23:02:44 -07:00
Gerrit Code Review
0260612296 Merge "drm: Integrate drm drivers from kernel/nvidia to kernel/nvidia-oot" into dev-main 2023-04-05 06:05:18 -07:00
Jon Hunter
06b833d570 block: virt-storage: tegra: Fix build for Linux v5.14
For Linux v5.14, the function device_add_disk() has a void return type
and compilation now fails with ...

 nvidia-oot/drivers/block/tegra_virt_storage/tegra_hv_vblk.c:1162:8:
 error: invalid use of void expression
  1162 |  (void)!device_add_disk(vblkdev->device, vblkdev->gd, NULL);
       |        ^

Fix the build for kernels prior to v5.15 by not attempting to  access
the return value. Finally, for kernels v5.15 and newer, do not ignore
the return value and report an error if device_add_disk() fails.

Bug 4052299

Change-Id: I975f30bc67661eacf74634b5edb70e5ad5fc1a8d
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2881453
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-05 06:05:05 -07:00
Sushil Kumar Singh
a986d91aa3 nvethernet: Kernel panic when set jumbo frame
Issue:
Macsec data is NULL for Xavier platforms as no DT macsec
entry is available. This NULL pointer is accessed when
changing MTU, causing kernel panic.

[  110.247070] Unable to handle kernel NULL pointer dereference at virtual address 000000000000015c
[  110.247292] Mem abort info:
[  110.247355]   ESR = 0x96000004
[  110.247423]   EC = 0x25: DABT (current EL), IL = 32 bits
[  110.247534]   SET = 0, FnV = 0
[  110.247616]   EA = 0, S1PTW = 0
[  110.247682] Data abort info:
[  110.247743]   ISV = 0, ISS = 0x00000004
[  110.247823]   CM = 0, WnR = 0
[  110.247889] user pgtable: 4k pages, 48-bit VAs, pgdp=000000010a201000
[  110.248031] [000000000000015c] pgd=0000000000000000, p4d=0000000000000000
[  110.248176] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[  110.248295] Modules linked in:
[  110.248379] CPU: 2 PID: 1423 Comm: ifconfig Not tainted 5.10.120-tegra #11
[  110.248525] Hardware name: Unknown Jetson-AGX/Jetson-AGX, BIOS 0.0-ff9214ce 12/20/2022
[  110.248690] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[  110.249074] pc : ether_change_mtu+0x144/0x220
[  110.249381] lr : ether_change_mtu+0x140/0x220
[  110.250528] sp : ffff800014b1b470
[  110.253853] x29: ffff800014b1b470 x28: ffff0318c9632d00
[  110.259366] x27: ffffb376aafb0978 x26: ffffb376aafb0948
[  110.264636] x25: ffffb376ab3b3aa0 x24: ffffb376abf7edd8
[  110.269870] x23: ffff0318c9632d00 x22: ffffb376abeb97d8
[  110.275569] x21: ffff0318c5dc0940 x20: 0000000000002328
[  110.280806] x19: ffff0318c5dc0000 x18: 0000000000000010
[  110.286401] x17: 0000000000000000 x16: ffffb376aa327910
[  110.291581] x15: ffff0318c9633270 x14: ffffffffffffffff
[  110.297166] x13: ffff800094b1b167 x12: ffff800014b1b16f
[  110.302500] x11: 0000000000000020 x10: ffffb376abbb0aa0
[  110.307770] x9 : ffffb376a9ccba7c x8 : 0000000000000001
[  110.313439] x7 : 0000000000017fe8 x6 : c0000000ffffefff
[  110.318605] x5 : ffff031c3fd60958 x4 : 0000000000000000
[  110.324305] x3 : 0000000000000001 x2 : 0000000000000000
[  110.329369] x1 : 0000000000000000 x0 : 0000000000000000
[  110.334706] Call trace:
[  110.337416]  ether_change_mtu+0x144/0x220
[  110.341187]  dev_set_mtu_ext+0xe8/0x1d0
[  110.345121]  dev_set_mtu+0x44/0xb0
[  110.348616]  dev_ifsioc+0x254/0x4d0
[  110.352115]  dev_ioctl+0x128/0x380
[  110.355270]  sock_do_ioctl+0xd4/0x240
[  110.359027]  sock_ioctl+0x27c/0x510
[  110.362530]  __arm64_sys_ioctl+0xb8/0x100
[  110.366731]  el0_svc_common.constprop.0+0x80/0x1f0
[  110.371540]  do_el0_svc+0x2c/0x90
[  110.374522]  el0_svc+0x20/0x40
[  110.377943]  el0_sync_handler+0xc0/0xd0
[  110.381689]  el0_sync+0x184/0x1c0
[  110.384931] Code: b900e714 5281ef42 941a98a4 f94312a0 (b9415c00)
[  110.390801] ---[ end trace cbec9c44e214f14b ]---
[  110.395602] Kernel panic - not syncing: Oops: Fatal exception
[  110.400962] SMP: stopping secondary CPUs
[  110.404718] Kernel Offset: 0x337699bb0000 from 0xffff800010000000
[  110.410752] PHYS_OFFSET: 0xfffffce840000000
[  110.414945] CPU features: 0x18240002,03802a30
[  110.419490] Memory Limit: none
[  110.422645] ---[ end Kernel panic - not syncing: Oops: Fatal exception ]---

Fix:
Add NULL check for macsec data. Macsec is set to NULL if it is not
supported in DT from macsec probe.

Bug 3952134

Change-Id: I0b292e39f3ec8f8fed0fb3fef5cd9f52f5c0e2a9
Signed-off-by: Sushil Kumar Singh <sushilkumars@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2846676
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2878453
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-05 06:01:49 -07:00
Manish Bhardwaj
ac315cf5ad nvvse: Enable Multipart/Singlepart UserNonce
crypto: hvvse: UserNonce enable for CBC/CTR

- Using SE server for CBC mode
- Updating counter for CTR mode
- Copying IV to userspace from kernelspace only for non userNonce

Jira ESSS-467

crypto: Support Multipart CBC/CTR

- Updated update_counter function
- Added support for mulitpart CBC/CTR

Jira ESSS-525

Signed-off-by: Advaya Andhare <aandhare@nvidia.com>
Change-Id: I3a85f510d28a6bd26b4b6b5b216c2659ec4052c6
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2874482
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-05 05:59:35 -07:00
Mohan Kumar
e2e48eebb6 ASoC: tegra: Migrate to upstream ICC
Migrate the ahub bandwidth management driver to align with upstream
ICC apis.

Bug 3997304

Change-Id: Ifaf25030b8cc4f467cdc737e034e0215413acf38
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2873866
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-05 05:59:25 -07:00
Laxman Dewangan
d146273031 podgov: Merge podgov driver from kernel/nvidia to kernel/nvidia-oot
Merge all the history of podgov driver from kernel/nvidia to
kernel/nvidia-oot to get rid of kernel/nvidia for OOT drivers.

Merge remote-tracking branch 'origin/dev/ldewangan/nvidia-podgov-dev-main' into nvidia-oot-podgov-dev-main

Change log are:
	a48408903 devfreq: pod v2: Add support for Linux v6.3
	533399ed4 devfreq: pod v2: Add support for Linux v6.2
	64c5dd4de devfreq: wmark: active: add wmark margin attrs
	dac541822 devfreq: pod v2: Add support for Linux v6.1
	45b486353 devfreq: pod v2: Add support for Linux v6.0
	0f5fa7538 devfreq: pod v2: Add support for Linux v5.19
	7ab0296e0 devfreq: Enable module build for OOT
	dbada9fa1 drivers: devfreq: Fix CERT-C Violations
	b24019936 devfreq: pod v2: build as ext module for kstable
	c5478eb1d devfreq: wmark: active: add trace log
	2834d2183 video: tegra: host Register PDs before drivers
	408295020 devfreq: wmark: active: set interrupt_driven
	14f26892e devfreq: introduce DEVFREQ_GOV_POD_SCALING_V2
	53da44c75 podgov: Clear history and set freq before suspend
	9f1caf010 devfreq: wmark: active: config params by sysfs
	428c30559 devfreq: wmark: active: introduce freq_boost_en knob
	ad17c22a3 video: tegra: host: update T186 VIC actmon driver
	79ce3f6aa devfreq: recent high as a scaling factor
	4080e458d devfreq: podgov: use cycles/sec to estimate load
	0f2fe9c3e devfreq: add core kernel directory to include path
	39d5a4f8e video: tegra: host: podgov: add trace events
	de9df1f6c devfreq: add Makefile and Kconfig for Nvidia governors
	4eaf77da2 devfreq: wmark: active: add GPL module license
	11a2d1a24 Fix include paths for in-tree builds
	fd6458bae devfreq: stop podgov polling when disabled through sysfs
	c479079b0 devfreq: Clean up podgov parameter initialization
	23835ef96 devfreq: Use devfreq timers for podgov
	f3c01ef1b devfreq: don't set last_scale for same freq
	9a955a070 devfreq: tegra: use soc/tegra/chip-id.h for soc header
	643e69a1c devfreq: remove throughput hints from podgov
	80dca368b devfreq: set current freq in case no change required
	985df8785 devfreq: remove FREQ_DONTSCALE return if same freq
	b6ea64687 devfreq: wmark: fix compilation on kernel 4.4
	c00e68510 devfreq: wmark: active: init average target freq
	559e2351a devfreq: Improvements watermark active policy
	0cf8ae932 devfreq: Improve wmark_active initialization
	6c7bf5d6b devfreq: Add Active Watermark governor
	bc031add8 devfreq: Add debugfs interface to simple watermark
	831d08cdc devfreq: Rename watermark governor
	622eede67 devfreq: governor_pod_scaling: Fix build errors
	4ade76010 devfreq: compare previous_freq only if podgov disabled
	897ce797c devfreq: get dev status after checking if scaling is enabled
	7a5aeae4f devfreq: tegra: add support for t18x
	d15333eb7 video: tegra: host: move pod_scaling.c

Bug 4038415

Change-Id: I390d9f5dfbda8ed21cdd66fd3b977ed6a068ab60
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-05 07:45:21 +00:00
Laxman Dewangan
c7d4d8f136 tsec: Merge the tsec driver from kernel/nvidia to kernel/nvidia-oot
Merge all the history of tsec driver from kernel/nvidia to
kernel/nvidia-oot to get rid of kernel/nvidia for OOT drivers.

Merge remote-tracking branch 'origin/dev/ldewangan/nvidia-tsec-dev-main' into nvidia-oot-tsec-dev-main

Change log:

	11a2230e3 tsec: use correct struct in tsec_of_match
	65b5496fa video: tegra: tsec: fix static analysis issues
	20d55b179 tsec: Conditionally turn off clock in suspend
	9897754e2 video: tegra: tsec: Coverity fix
	66d070383 video: tsec: Add support to alloc GSC memory
	791ff3eba video: tegra: tsec: Launch threaded handler only for SWGEN0
	b52c828d1 video: tegra: tsec: Remove TSEC_RM_ON_DCE
	77dc36500 video: tegra: tsec: add api to clear init callback
	b00798044 drivers: tsec: use already exported cache API
	2d212bce4 video: tegra: Add T239 support in new TSEC driver
	d5768ade6 video: tegra: tsec: Fix build for Linux v5.14
	0a219e1b4 video: tegra: tsec: changes to compile for k5.15
	c7dce4b1f video: tegra: add tsec driver

Bug 4038415

Change-Id: I578e1599ee46f4bbee55b650c7826c960dd6ca7d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-04-05 07:38:27 +00:00
Laxman Dewangan
7f8cad749d gpu: nvgpu: Remove dummy Makefile of nvgpu
nvgpu is getting build from kernel/nvgpu and it is
not required to copy in nvidia-oot.

Remove the dummy makefile which was added as placeholder
for the nvgpu makefile.

Bug 4038415

Change-Id: I3fa6945a94c0f2233b55ec19d21ec4a92f715fde
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2882139
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-04 21:58:16 -07:00
Revanth Kumar Uppala
80336d6c96 nvethernet: Fix compilation warnings
1.There is a switch-case where one case is falling to the
next case. This is creating the compilation warning.
Make this fall through as intentional by adding
compiler attribute as "fallthrough".

2.Remove redefinition of macro MII_ADDR_C45

Bug 4055275

Change-Id: I99193b225e97c414588bb306cb48e472ae079f9f
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2882027
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-04 21:57:46 -07:00
Gerrit Code Review
e257be9884 Merge "tegra_gr_comm: Integrate drivers from kernel/nvidia" into dev-main 2023-04-04 21:57:24 -07:00