nv-public: overlay: linux-cma with 512MB for GPU requirements

Modify linux-cma node for contiguous memory requirements.

This is needed when the RAM size is 64GB.

Bug 4027173

Change-Id: Idf0d168a218527028b3f075c7e00a75570a6e7e9
Signed-off-by: Shao-Chun Kao <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2895678
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
shaochunk
2023-04-28 12:44:01 +08:00
committed by mobile promotions
parent 5813fe6da6
commit 8cbad97805
2 changed files with 25 additions and 15 deletions

View File

@@ -131,6 +131,31 @@
};
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};
};
fragment-t234-p3701-0000@1 {
target-path = "/";
board_config {
ids = "3701-0005-*","3701-0008-*";
};
__overlay__ {
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
size = <0x0 0x20000000>; /* 512MB */
};
};
};
};
};

View File

@@ -160,21 +160,6 @@
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
eeprom-manager {
data-size = <0x100>;
bus@0 {