Lines Matching refs:gds
2165 r = amdgpu_bo_create_kernel(adev, adev->gds.mem.gfx_partition_size, in gfx_v8_0_sw_init()
2167 &adev->gds.gds_gfx_bo, NULL, NULL); in gfx_v8_0_sw_init()
2171 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, in gfx_v8_0_sw_init()
2173 &adev->gds.gws_gfx_bo, NULL, NULL); in gfx_v8_0_sw_init()
2177 r = amdgpu_bo_create_kernel(adev, adev->gds.oa.gfx_partition_size, in gfx_v8_0_sw_init()
2179 &adev->gds.oa_gfx_bo, NULL, NULL); in gfx_v8_0_sw_init()
2197 amdgpu_bo_free_kernel(&adev->gds.oa_gfx_bo, NULL, NULL); in gfx_v8_0_sw_fini()
2198 amdgpu_bo_free_kernel(&adev->gds.gws_gfx_bo, NULL, NULL); in gfx_v8_0_sw_fini()
2199 amdgpu_bo_free_kernel(&adev->gds.gds_gfx_bo, NULL, NULL); in gfx_v8_0_sw_fini()
7317 adev->gds.mem.total_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v8_0_set_gds_init()
7318 adev->gds.gws.total_size = 64; in gfx_v8_0_set_gds_init()
7319 adev->gds.oa.total_size = 16; in gfx_v8_0_set_gds_init()
7321 if (adev->gds.mem.total_size == 64 * 1024) { in gfx_v8_0_set_gds_init()
7322 adev->gds.mem.gfx_partition_size = 4096; in gfx_v8_0_set_gds_init()
7323 adev->gds.mem.cs_partition_size = 4096; in gfx_v8_0_set_gds_init()
7325 adev->gds.gws.gfx_partition_size = 4; in gfx_v8_0_set_gds_init()
7326 adev->gds.gws.cs_partition_size = 4; in gfx_v8_0_set_gds_init()
7328 adev->gds.oa.gfx_partition_size = 4; in gfx_v8_0_set_gds_init()
7329 adev->gds.oa.cs_partition_size = 1; in gfx_v8_0_set_gds_init()
7331 adev->gds.mem.gfx_partition_size = 1024; in gfx_v8_0_set_gds_init()
7332 adev->gds.mem.cs_partition_size = 1024; in gfx_v8_0_set_gds_init()
7334 adev->gds.gws.gfx_partition_size = 16; in gfx_v8_0_set_gds_init()
7335 adev->gds.gws.cs_partition_size = 16; in gfx_v8_0_set_gds_init()
7337 adev->gds.oa.gfx_partition_size = 4; in gfx_v8_0_set_gds_init()
7338 adev->gds.oa.cs_partition_size = 4; in gfx_v8_0_set_gds_init()