drm/amdgpu/gfx12_1: Increase reserved memory size to 150M
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/gfx12_1: Increase reserved memory size to 150M
From: Alex Sierra <[email protected]>
Increase reserved memory to 150 MB.
v2: squash in fixes (Alex)
Signed-off-by Alex Sierra <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +1 -4
@@ -1712,10 +1712,7 @@ static void amdgpu_ttm_init_fw_resv_region(struct amdgpu_device *adev) reserve_size =max (reserve_size, (uint32_t )280 <<20 ); else if (!adev->bios && amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(12, 1, 0)) { -if (hweight32 (adev->aid_mask) ==1 ) - reserve_size =max (reserve_size, (uint32_t )128 <<20 ); -else - reserve_size =max (reserve_size, (uint32_t )144 <<20 ); + reserve_size =max (reserve_size, (uint32_t )150 <<20 ); } else if (!reserve_size) reserve_size =DISCOVERY_TMR_OFFSET ;
Signature · 1 line
2.53.0