aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 96df23c99cfb..470dc80f4fe7 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -2161,25 +2161,6 @@ static int gfx_v8_0_sw_init(void *handle)
2161 if (r) 2161 if (r)
2162 return r; 2162 return r;
2163 2163
2164 /* reserve GDS, GWS and OA resource for gfx */
2165 r = amdgpu_bo_create_kernel(adev, adev->gds.mem.gfx_partition_size,
2166 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GDS,
2167 &adev->gds.gds_gfx_bo, NULL, NULL);
2168 if (r)
2169 return r;
2170
2171 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size,
2172 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GWS,
2173 &adev->gds.gws_gfx_bo, NULL, NULL);
2174 if (r)
2175 return r;
2176
2177 r = amdgpu_bo_create_kernel(adev, adev->gds.oa.gfx_partition_size,
2178 PAGE_SIZE, AMDGPU_GEM_DOMAIN_OA,
2179 &adev->gds.oa_gfx_bo, NULL, NULL);
2180 if (r)
2181 return r;
2182
2183 adev->gfx.ce_ram_size = 0x8000; 2164 adev->gfx.ce_ram_size = 0x8000;
2184 2165
2185 r = gfx_v8_0_gpu_early_init(adev); 2166 r = gfx_v8_0_gpu_early_init(adev);