summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_rm_emulation.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_rm_emulation.c')
-rw-r--r--kernel/gsp_rm_emulation.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/gsp_rm_emulation.c b/kernel/gsp_rm_emulation.c
index 581ed19..308de9c 100644
--- a/kernel/gsp_rm_emulation.c
+++ b/kernel/gsp_rm_emulation.c
@@ -3116,10 +3116,12 @@ static void gsp_rm_handle_clk_domain_info(struct gsp_emu_context *ctx, u32 cmd,
* sysmem connection type"). Report a PCIe Gen3 x16 link for the emulated
* vGPU and echo every requested index.
*/
-static u32 gsp_rm_bus_gart_mb = 4096;
+static u32 gsp_rm_bus_gart_mb = 256;
module_param_named(bus_gart_mb, gsp_rm_bus_gart_mb, uint, 0644);
MODULE_PARM_DESC(bus_gart_mb,
- "BUS_GET_INFO_V2 GPU_GART_SIZE in MiB (default 4096; 0 = historical zero reply, A/B)");
+ "BUS_GET_INFO_V2 GPU_GART_SIZE in MiB (default 256; 0 = historical zero reply, A/B). "
+ "4096 made the guest allocate a 4 GiB GART sysmem object at GL init (c15-c22 OOM/crash); "
+ "256 keeps the GART well below guest RAM.");
static u32 tu104_bus_info_data(u32 index)
{