Lines Matching refs:gds

1314 	adev->gds.mem.total_size -= adev->gfx.ngg.gds_reserve_size;  in gfx_v9_0_ngg_init()
1315 adev->gds.mem.gfx_partition_size -= adev->gfx.ngg.gds_reserve_size; in gfx_v9_0_ngg_init()
1423 (adev->gds.mem.total_size + in gfx_v9_0_ngg_en()
1599 r = amdgpu_bo_create_kernel(adev, adev->gds.mem.gfx_partition_size, in gfx_v9_0_sw_init()
1601 &adev->gds.gds_gfx_bo, NULL, NULL); in gfx_v9_0_sw_init()
1605 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, in gfx_v9_0_sw_init()
1607 &adev->gds.gws_gfx_bo, NULL, NULL); in gfx_v9_0_sw_init()
1611 r = amdgpu_bo_create_kernel(adev, adev->gds.oa.gfx_partition_size, in gfx_v9_0_sw_init()
1613 &adev->gds.oa_gfx_bo, NULL, NULL); in gfx_v9_0_sw_init()
1636 amdgpu_bo_free_kernel(&adev->gds.oa_gfx_bo, NULL, NULL); in gfx_v9_0_sw_fini()
1637 amdgpu_bo_free_kernel(&adev->gds.gws_gfx_bo, NULL, NULL); in gfx_v9_0_sw_fini()
1638 amdgpu_bo_free_kernel(&adev->gds.gds_gfx_bo, NULL, NULL); in gfx_v9_0_sw_fini()
4817 adev->gds.mem.total_size = RREG32_SOC15(GC, 0, mmGDS_VMID0_SIZE); in gfx_v9_0_set_gds_init()
4818 adev->gds.gws.total_size = 64; in gfx_v9_0_set_gds_init()
4819 adev->gds.oa.total_size = 16; in gfx_v9_0_set_gds_init()
4821 if (adev->gds.mem.total_size == 64 * 1024) { in gfx_v9_0_set_gds_init()
4822 adev->gds.mem.gfx_partition_size = 4096; in gfx_v9_0_set_gds_init()
4823 adev->gds.mem.cs_partition_size = 4096; in gfx_v9_0_set_gds_init()
4825 adev->gds.gws.gfx_partition_size = 4; in gfx_v9_0_set_gds_init()
4826 adev->gds.gws.cs_partition_size = 4; in gfx_v9_0_set_gds_init()
4828 adev->gds.oa.gfx_partition_size = 4; in gfx_v9_0_set_gds_init()
4829 adev->gds.oa.cs_partition_size = 1; in gfx_v9_0_set_gds_init()
4831 adev->gds.mem.gfx_partition_size = 1024; in gfx_v9_0_set_gds_init()
4832 adev->gds.mem.cs_partition_size = 1024; in gfx_v9_0_set_gds_init()
4834 adev->gds.gws.gfx_partition_size = 16; in gfx_v9_0_set_gds_init()
4835 adev->gds.gws.cs_partition_size = 16; in gfx_v9_0_set_gds_init()
4837 adev->gds.oa.gfx_partition_size = 4; in gfx_v9_0_set_gds_init()
4838 adev->gds.oa.cs_partition_size = 4; in gfx_v9_0_set_gds_init()