diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index c0f9732cbaf7..fc39ebbc9d9f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | |||
@@ -4582,25 +4582,6 @@ static int gfx_v7_0_sw_init(void *handle) | |||
4582 | } | 4582 | } |
4583 | } | 4583 | } |
4584 | 4584 | ||
4585 | /* reserve GDS, GWS and OA resource for gfx */ | ||
4586 | r = amdgpu_bo_create_kernel(adev, adev->gds.mem.gfx_partition_size, | ||
4587 | PAGE_SIZE, AMDGPU_GEM_DOMAIN_GDS, | ||
4588 | &adev->gds.gds_gfx_bo, NULL, NULL); | ||
4589 | if (r) | ||
4590 | return r; | ||
4591 | |||
4592 | r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, | ||
4593 | PAGE_SIZE, AMDGPU_GEM_DOMAIN_GWS, | ||
4594 | &adev->gds.gws_gfx_bo, NULL, NULL); | ||
4595 | if (r) | ||
4596 | return r; | ||
4597 | |||
4598 | r = amdgpu_bo_create_kernel(adev, adev->gds.oa.gfx_partition_size, | ||
4599 | PAGE_SIZE, AMDGPU_GEM_DOMAIN_OA, | ||
4600 | &adev->gds.oa_gfx_bo, NULL, NULL); | ||
4601 | if (r) | ||
4602 | return r; | ||
4603 | |||
4604 | adev->gfx.ce_ram_size = 0x8000; | 4585 | adev->gfx.ce_ram_size = 0x8000; |
4605 | 4586 | ||
4606 | gfx_v7_0_gpu_early_init(adev); | 4587 | gfx_v7_0_gpu_early_init(adev); |