|
@@ -1121,7 +1121,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
|
|
|
/* Change the size here instead of the init above so only lpfn is affected */
|
|
|
amdgpu_ttm_set_active_vram_size(adev, adev->mc.visible_vram_size);
|
|
|
|
|
|
- r = amdgpu_bo_create(adev, 256 * 1024, PAGE_SIZE, true,
|
|
|
+ r = amdgpu_bo_create(adev, adev->mc.stolen_size, PAGE_SIZE, true,
|
|
|
AMDGPU_GEM_DOMAIN_VRAM,
|
|
|
AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED |
|
|
|
AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS,
|