/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_test.c | 88 void **vram_start, **vram_end; in amdgpu_do_test_moves() local 150 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves() 151 vram_start < vram_end; in amdgpu_do_test_moves() 152 gart_start++, vram_start++) { in amdgpu_do_test_moves() 153 if (*vram_start != gart_start) { in amdgpu_do_test_moves() 157 i, *vram_start, gart_start, in amdgpu_do_test_moves() 162 (vram_addr - adev->gmc.vram_start + in amdgpu_do_test_moves() 167 *vram_start = vram_start; in amdgpu_do_test_moves() 196 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves() 198 gart_start++, vram_start++) { in amdgpu_do_test_moves() [all …]
|
D | amdgpu_gmc.c | 152 mc->vram_start = base; in amdgpu_gmc_vram_location() 153 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location() 158 mc->fb_start = mc->vram_start; in amdgpu_gmc_vram_location() 162 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_gmc_vram_location()
|
D | gfxhub_v2_1.c | 162 adev->gmc.vram_start >> 18); in gfxhub_v2_1_init_system_aperture_regs() 167 value = adev->vram_scratch.gpu_addr - adev->gmc.vram_start in gfxhub_v2_1_init_system_aperture_regs() 360 adev->gmc.vram_start >> 24); in gfxhub_v2_1_gart_enable()
|
D | gfxhub_v1_0.c | 101 value = adev->vram_scratch.gpu_addr - adev->gmc.vram_start + in gfxhub_v1_0_init_system_aperture_regs() 286 adev->gmc.vram_start >> 24); in gfxhub_v1_0_gart_enable()
|
D | gfxhub_v2_0.c | 163 adev->gmc.vram_start >> 18); in gfxhub_v2_0_init_system_aperture_regs() 168 value = adev->vram_scratch.gpu_addr - adev->gmc.vram_start in gfxhub_v2_0_init_system_aperture_regs()
|
D | amdgpu_gmc.h | 197 u64 vram_start; member
|
D | mmhub_v2_0.c | 206 adev->gmc.vram_start >> 18); in mmhub_v2_0_init_system_aperture_regs() 212 value = adev->vram_scratch.gpu_addr - adev->gmc.vram_start + in mmhub_v2_0_init_system_aperture_regs()
|
D | amdgpu_fb.c | 248 tmp = amdgpu_bo_gpu_offset(abo) - adev->gmc.vram_start; in amdgpufb_create()
|
D | mmhub_v1_0.c | 117 value = adev->vram_scratch.gpu_addr - adev->gmc.vram_start + in mmhub_v1_0_init_system_aperture_regs() 322 adev->gmc.vram_start >> 24); in mmhub_v1_0_gart_enable()
|
D | gmc_v9_0.c | 1038 adev->gmc.vram_start; in gmc_v9_0_get_vm_pde() 1637 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in gmc_v9_0_hw_init() 1638 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE_HI, (adev->gmc.vram_start >> 40)); in gmc_v9_0_hw_init()
|
D | gmc_v8_0.c | 482 adev->gmc.vram_start >> 12); in gmc_v8_0_mc_program() 490 tmp |= ((adev->gmc.vram_start >> 24) & 0xFFFF); in gmc_v8_0_mc_program() 493 WREG32(mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in gmc_v8_0_mc_program()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
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() 151 gtt_start++, vram_start++) { in radeon_do_test_moves() 152 if (*vram_start != gtt_start) { in radeon_do_test_moves() 156 i, *vram_start, gtt_start, in radeon_do_test_moves() 161 (vram_addr - rdev->mc.vram_start + in radeon_do_test_moves() 166 *vram_start = vram_start; in radeon_do_test_moves() 200 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves() 202 gtt_start++, vram_start++) { in radeon_do_test_moves() [all …]
|
D | r520.c | 147 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in r520_mc_program() 150 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in r520_mc_program()
|
D | rv515.c | 390 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 392 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 395 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 397 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 401 (u32)rdev->mc.vram_start); in rv515_mc_resume() 403 (u32)rdev->mc.vram_start); in rv515_mc_resume() 405 WREG32(R_000310_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in rv515_mc_resume() 484 S_000001_MC_FB_START(rdev->mc.vram_start >> 16) | in rv515_mc_program() 487 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rv515_mc_program()
|
D | rv770.c | 1035 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in rv770_mc_program() 1038 rdev->mc.vram_start >> 12); in rv770_mc_program() 1050 rdev->mc.vram_start >> 12); in rv770_mc_program() 1056 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in rv770_mc_program() 1058 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in rv770_mc_program() 1625 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r700_vram_gtt_location() 1632 mc->vram_start = mc->gtt_end + 1; in r700_vram_gtt_location() 1634 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location() 1636 mc->mc_vram_size >> 20, mc->vram_start, in r700_vram_gtt_location()
|
D | radeon_device.c | 570 mc->vram_start = base; in radeon_vram_location() 576 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 577 if (rdev->flags & RADEON_IS_AGP && mc->vram_end > mc->gtt_start && mc->vram_start <= mc->gtt_end) { in radeon_vram_location() 582 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 586 mc->mc_vram_size >> 20, mc->vram_start, in radeon_vram_location() 607 size_bf = mc->vram_start & ~mc->gtt_base_align; in radeon_gtt_location() 613 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; in radeon_gtt_location()
|
D | radeon_object.h | 103 start = rdev->mc.vram_start; in radeon_bo_gpu_offset()
|
D | rs600.c | 604 WREG32_MC(R_000112_MC_PT0_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start); in rs600_gart_enable() 977 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in rs600_mc_program() 980 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs600_mc_program()
|
D | evergreen.c | 2770 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2772 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2774 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2776 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2780 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2781 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2874 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in evergreen_mc_program() 2877 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2889 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2900 tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; in evergreen_mc_program() [all …]
|
D | radeon_fb.c | 268 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
|
D | r600.c | 1327 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in r600_mc_program() 1330 rdev->mc.vram_start >> 12); in r600_mc_program() 1341 WREG32(MC_VM_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start >> 12); in r600_mc_program() 1346 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in r600_mc_program() 1348 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in r600_mc_program() 1409 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r600_vram_gtt_location() 1416 mc->vram_start = mc->gtt_end + 1; in r600_vram_gtt_location() 1418 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location() 1420 mc->mc_vram_size >> 20, mc->vram_start, in r600_vram_gtt_location()
|
D | rs400.c | 404 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
|
D | rs690.c | 688 S_000100_MC_FB_START(rdev->mc.vram_start >> 16) | in rs690_mc_program() 691 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs690_mc_program()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 208 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 226 if (va->phys < vinfo->vram_start) { in vmlfb_alloc_vram() 227 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 250 (unsigned long)vinfo->vram_start); in vmlfb_alloc_vram() 297 aoffset = offset - (vinfo->vram[i].phys - vinfo->vram_start); in vmlfb_vram_offset() 489 info->fix.smem_start = vinfo->vram_start; in vml_pci_probe() 856 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_set_par_locked() 943 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_pan_display() 1004 return vm_iomap_memory(vma, vinfo->vram_start, in vmlfb_mmap()
|
D | vermilion.h | 203 u64 vram_start; member
|