aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 528a8a567633..f369d9603435 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1700,25 +1700,6 @@ static int gfx_v9_0_sw_init(void *handle)
1700 if (r) 1700 if (r)
1701 return r; 1701 return r;
1702 1702
1703 /* reserve GDS, GWS and OA resource for gfx */
1704 r = amdgpu_bo_create_kernel(adev, adev->gds.mem.gfx_partition_size,
1705 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GDS,
1706 &adev->gds.gds_gfx_bo, NULL, NULL);
1707 if (r)
1708 return r;
1709
1710 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size,
1711 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GWS,
1712 &adev->gds.gws_gfx_bo, NULL, NULL);
1713 if (r)
1714 return r;
1715
1716 r = amdgpu_bo_create_kernel(adev, adev->gds.oa.gfx_partition_size,
1717 PAGE_SIZE, AMDGPU_GEM_DOMAIN_OA,
1718 &adev->gds.oa_gfx_bo, NULL, NULL);
1719 if (r)
1720 return r;
1721
1722 adev->gfx.ce_ram_size = 0x8000; 1703 adev->gfx.ce_ram_size = 0x8000;
1723 1704
1724 r = gfx_v9_0_gpu_early_init(adev); 1705 r = gfx_v9_0_gpu_early_init(adev);