/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_test.c | 87 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 D | radeon_device.c | 577 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 D | rv770.c | 1043 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 D | r520.c | 148 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r520_mc_program()
|
H A D | rs600.c | 611 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 D | rs400.c | 401 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs400_mc_program()
|
H A D | r600.c | 1337 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 D | rs690.c | 689 S_000100_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs690_mc_program()
|
H A D | evergreen.c | 2884 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 D | r300.c | 1352 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r300_mc_program()
|
H A D | rv515.c | 455 S_000001_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rv515_mc_program()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.c | 213 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 D | imu_v11_0_3.c | 128 data = adev->gmc.vram_end >> 24; in program_rlc_ram_register_setting()
|
H A D | gfxhub_v2_1.c | 368 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 D | amdgpu_gmc.h | 264 u64 vram_end; member
|
H A D | imu_v12_0.c | 271 data = adev->gmc.vram_end >> 24; in program_imu_rlc_ram_old()
|
H A D | imu_v11_0.c | 338 data = adev->gmc.vram_end >> 24; in program_imu_rlc_ram()
|
H A D | gfxhub_v11_5_0.c | 366 adev->gmc.vram_end >> 24); in gfxhub_v11_5_0_gart_enable()
|
H A D | gfxhub_v3_0.c | 363 adev->gmc.vram_end >> 24); in gfxhub_v3_0_gart_enable()
|
H A D | gfxhub_v12_0.c | 371 adev->gmc.vram_end >> 24); in gfxhub_v12_0_gart_enable()
|
H A D | mmhub_v2_3.c | 357 adev->gmc.vram_end >> 24); in mmhub_v2_3_gart_enable()
|
H A D | gmc_v8_0.c | 460 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 D | mmhub_v1_0.c | 324 adev->gmc.vram_end >> 24); in mmhub_v1_0_gart_enable()
|
H A D | gmc_v6_0.c | 247 adev->gmc.vram_end >> 12); in gmc_v6_0_mc_program()
|
H A D | gmc_v7_0.c | 285 adev->gmc.vram_end >> 12); in gmc_v7_0_mc_program()
|