Home
last modified time | relevance | path

Searched refs:size_bf (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c280 u64 size_af, size_bf; in amdgpu_gmc_gart_location() local
287 size_bf = mc->fb_start; in amdgpu_gmc_gart_location()
290 if (mc->gart_size > max(size_bf, size_af)) { in amdgpu_gmc_gart_location()
292 mc->gart_size = max(size_bf, size_af); in amdgpu_gmc_gart_location()
304 if ((size_bf >= mc->gart_size && size_bf < size_af) || in amdgpu_gmc_gart_location()
333 u64 size_af, size_bf; in amdgpu_gmc_agp_location() local
336 size_bf = (mc->fb_start & sixteen_gb_mask) - in amdgpu_gmc_agp_location()
340 size_bf = mc->fb_start & sixteen_gb_mask; in amdgpu_gmc_agp_location()
345 if (size_bf > size_af) { in amdgpu_gmc_agp_location()
346 mc->agp_start = (mc->fb_start - size_bf) & sixteen_gb_mask; in amdgpu_gmc_agp_location()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.c606 u64 size_af, size_bf; in radeon_gtt_location() local
609 size_bf = mc->vram_start & ~mc->gtt_base_align; in radeon_gtt_location()
610 if (size_bf > size_af) { in radeon_gtt_location()
611 if (mc->gtt_size > size_bf) { in radeon_gtt_location()
613 mc->gtt_size = size_bf; in radeon_gtt_location()
H A Drv770.c1605 u64 size_bf, size_af; in r700_vram_gtt_location() local
1614 size_bf = mc->gtt_start; in r700_vram_gtt_location()
1616 if (size_bf > size_af) { in r700_vram_gtt_location()
1617 if (mc->mc_vram_size > size_bf) { in r700_vram_gtt_location()
1619 mc->real_vram_size = size_bf; in r700_vram_gtt_location()
1620 mc->mc_vram_size = size_bf; in r700_vram_gtt_location()
H A Dr600.c1391 u64 size_bf, size_af; in r600_vram_gtt_location() local
1400 size_bf = mc->gtt_start; in r600_vram_gtt_location()
1402 if (size_bf > size_af) { in r600_vram_gtt_location()
1403 if (mc->mc_vram_size > size_bf) { in r600_vram_gtt_location()
1405 mc->real_vram_size = size_bf; in r600_vram_gtt_location()
1406 mc->mc_vram_size = size_bf; in r600_vram_gtt_location()