Searched refs:size_af (Results 1 – 4 of 4) sorted by relevance
1602 u64 size_bf, size_af; in r700_vram_gtt_location() local1612 size_af = mc->mc_mask - mc->gtt_end; in r700_vram_gtt_location()1613 if (size_bf > size_af) { in r700_vram_gtt_location()1621 if (mc->mc_vram_size > size_af) { in r700_vram_gtt_location()1623 mc->real_vram_size = size_af; in r700_vram_gtt_location()1624 mc->mc_vram_size = size_af; in r700_vram_gtt_location()
612 u64 size_af, size_bf; in radeon_gtt_location() local614 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()616 if (size_bf > size_af) { in radeon_gtt_location()623 if (mc->gtt_size > size_af) { in radeon_gtt_location()625 mc->gtt_size = size_af; in radeon_gtt_location()
1384 u64 size_bf, size_af; in r600_vram_gtt_location() local1394 size_af = mc->mc_mask - mc->gtt_end; in r600_vram_gtt_location()1395 if (size_bf > size_af) { in r600_vram_gtt_location()1403 if (mc->mc_vram_size > size_af) { in r600_vram_gtt_location()1405 mc->real_vram_size = size_af; in r600_vram_gtt_location()1406 mc->mc_vram_size = size_af; in r600_vram_gtt_location()
589 u64 size_af, size_bf; in amdgpu_gtt_location() local591 size_af = ((adev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in amdgpu_gtt_location()593 if (size_bf > size_af) { in amdgpu_gtt_location()600 if (mc->gtt_size > size_af) { in amdgpu_gtt_location()602 mc->gtt_size = size_af; in amdgpu_gtt_location()