Home
last modified time | relevance | path

Searched refs:vram_end (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/gpu/drm/radeon/
H A Dradeon_test.c87 void **vram_start, **vram_end; in radeon_do_test_moves() local
149 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves()
150 vram_start < vram_end; in radeon_do_test_moves()
200 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves()
H A Dradeon_device.c577 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location()
578 if (rdev->flags & RADEON_IS_AGP && mc->vram_end > mc->gtt_start && mc->vram_start <= mc->gtt_end) { in radeon_vram_location()
583 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location()
588 mc->vram_end, mc->real_vram_size >> 20); in radeon_vram_location()
607 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
620 mc->gtt_start = (mc->vram_end + 1 + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
H A Drv770.c1043 rdev->mc.vram_end >> 12); in rv770_mc_program()
1049 rdev->mc.vram_end >> 12); in rv770_mc_program()
1052 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in rv770_mc_program()
1631 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location()
1634 mc->vram_end, mc->real_vram_size >> 20); in r700_vram_gtt_location()
H A Dr520.c148 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r520_mc_program()
H A Drs600.c611 WREG32_MC(R_000114_MC_PT0_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end); in rs600_gart_enable()
978 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs600_mc_program()
H A Drs400.c401 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs400_mc_program()
H A Dr600.c1337 rdev->mc.vram_end >> 12); in r600_mc_program()
1341 WREG32(MC_VM_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end >> 12); in r600_mc_program()
1344 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in r600_mc_program()
1417 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location()
1420 mc->vram_end, mc->real_vram_size >> 20); in r600_vram_gtt_location()
H A Drs690.c689 S_000100_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs690_mc_program()
H A Devergreen.c2884 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2890 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2898 tmp |= ((rdev->mc.vram_end >> 20) & 0xF) << 24; in evergreen_mc_program()
2902 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in evergreen_mc_program()
H A Dr300.c1352 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r300_mc_program()
H A Drv515.c455 S_000001_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rv515_mc_program()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c213 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location()
225 mc->fb_end = mc->vram_end; in amdgpu_gmc_vram_location()
229 mc->vram_end, mc->real_vram_size >> 20); in amdgpu_gmc_vram_location()
253 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location()
260 mc->vram_end, mc->real_vram_size >> 20); in amdgpu_gmc_sysvm_location()
1014 u64 vram_end = vram_addr + vram_size; in amdgpu_gmc_init_pdb0() local
1030 for (i = 0; vram_addr < vram_end; i++, vram_addr += pde0_page_size) in amdgpu_gmc_init_pdb0()
H A Dimu_v11_0_3.c128 data = adev->gmc.vram_end >> 24; in program_rlc_ram_register_setting()
H A Dgfxhub_v2_1.c368 adev->gmc.vram_end >> 24); in gfxhub_v2_1_gart_enable()
653 WREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_TOP, adev->gmc.vram_end >> 24); in gfxhub_v2_1_restore_regs()
H A Damdgpu_gmc.h264 u64 vram_end; member
H A Dimu_v12_0.c271 data = adev->gmc.vram_end >> 24; in program_imu_rlc_ram_old()
H A Dimu_v11_0.c338 data = adev->gmc.vram_end >> 24; in program_imu_rlc_ram()
H A Dgfxhub_v11_5_0.c366 adev->gmc.vram_end >> 24); in gfxhub_v11_5_0_gart_enable()
H A Dgfxhub_v3_0.c363 adev->gmc.vram_end >> 24); in gfxhub_v3_0_gart_enable()
H A Dgfxhub_v12_0.c371 adev->gmc.vram_end >> 24); in gfxhub_v12_0_gart_enable()
H A Dmmhub_v2_3.c357 adev->gmc.vram_end >> 24); in mmhub_v2_3_gart_enable()
H A Dgmc_v8_0.c460 adev->gmc.vram_end >> 12); in gmc_v8_0_mc_program()
465 tmp = ((adev->gmc.vram_end >> 24) & 0xFFFF) << 16; in gmc_v8_0_mc_program()
H A Dmmhub_v1_0.c324 adev->gmc.vram_end >> 24); in mmhub_v1_0_gart_enable()
H A Dgmc_v6_0.c247 adev->gmc.vram_end >> 12); in gmc_v6_0_mc_program()
H A Dgmc_v7_0.c285 adev->gmc.vram_end >> 12); in gmc_v7_0_mc_program()

12