Searched refs:size_af (Results 1 – 4 of 4) sorted by relevance
180 u64 size_af, size_bf; in amdgpu_gmc_gart_location() local190 size_af = max_mc_address + 1 - ALIGN(mc->fb_end + 1, four_gb); in amdgpu_gmc_gart_location()192 if (mc->gart_size > max(size_bf, size_af)) { in amdgpu_gmc_gart_location()194 mc->gart_size = max(size_bf, size_af); in amdgpu_gmc_gart_location()197 if ((size_bf >= mc->gart_size && size_bf < size_af) || in amdgpu_gmc_gart_location()198 (size_af < mc->gart_size)) in amdgpu_gmc_gart_location()224 u64 size_af, size_bf; in amdgpu_gmc_agp_location() local237 size_af = mc->mc_mask + 1 - ALIGN(mc->fb_end + 1, sixteen_gb); in amdgpu_gmc_agp_location()240 size_af = (mc->gart_start & sixteen_gb_mask) - in amdgpu_gmc_agp_location()244 if (size_bf > size_af) { in amdgpu_gmc_agp_location()[all …]
604 u64 size_af, size_bf; in radeon_gtt_location() local606 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()608 if (size_bf > size_af) { in radeon_gtt_location()615 if (mc->gtt_size > size_af) { in radeon_gtt_location()617 mc->gtt_size = size_af; in radeon_gtt_location()
1608 u64 size_bf, size_af; in r700_vram_gtt_location() local1618 size_af = mc->mc_mask - mc->gtt_end; in r700_vram_gtt_location()1619 if (size_bf > size_af) { in r700_vram_gtt_location()1627 if (mc->mc_vram_size > size_af) { in r700_vram_gtt_location()1629 mc->real_vram_size = size_af; in r700_vram_gtt_location()1630 mc->mc_vram_size = size_af; in r700_vram_gtt_location()
1392 u64 size_bf, size_af; in r600_vram_gtt_location() local1402 size_af = mc->mc_mask - mc->gtt_end; in r600_vram_gtt_location()1403 if (size_bf > size_af) { in r600_vram_gtt_location()1411 if (mc->mc_vram_size > size_af) { in r600_vram_gtt_location()1413 mc->real_vram_size = size_af; in r600_vram_gtt_location()1414 mc->mc_vram_size = size_af; in r600_vram_gtt_location()