/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_test.c | 84 void **vram_start, **vram_end; in amdgpu_do_test_moves() local 146 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves() 147 vram_start < vram_end; in amdgpu_do_test_moves() 148 gart_start++, vram_start++) { in amdgpu_do_test_moves() 149 if (*vram_start != gart_start) { in amdgpu_do_test_moves() 153 i, *vram_start, gart_start, in amdgpu_do_test_moves() 158 (vram_addr - adev->gmc.vram_start + in amdgpu_do_test_moves() 163 *vram_start = vram_start; in amdgpu_do_test_moves() 192 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves() 194 gart_start++, vram_start++) { in amdgpu_do_test_moves() [all …]
|
D | amdgpu_gmc.c | 209 mc->vram_start = base; in amdgpu_gmc_vram_location() 210 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location() 215 mc->fb_start = mc->vram_start; in amdgpu_gmc_vram_location() 219 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_gmc_vram_location() 243 mc->vram_start = mc->xgmi.node_segment_size * mc->xgmi.physical_node_id; in amdgpu_gmc_sysvm_location() 244 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location() 250 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_gmc_sysvm_location() 784 return mc_addr - adev->gmc.vram_start + adev->vm_manager.vram_base_offset; in amdgpu_gmc_vram_mc2pa() 808 return amdgpu_bo_gpu_offset(bo) - adev->gmc.vram_start + adev->gmc.aper_base; in amdgpu_gmc_vram_cpu_pa()
|
D | hdp_v4_0.c | 148 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in hdp_v4_0_init_registers() 149 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE_HI, (adev->gmc.vram_start >> 40)); in hdp_v4_0_init_registers()
|
D | amdgpu_fw_attestation.c | 81 vram_pos = records_addr - adev->gmc.vram_start; in amdgpu_fw_attestation_debugfs_read()
|
D | amdgpu_gmc.h | 211 u64 vram_start; member
|
D | gmc_v8_0.c | 473 adev->gmc.vram_start >> 12); in gmc_v8_0_mc_program() 481 tmp |= ((adev->gmc.vram_start >> 24) & 0xFFFF); in gmc_v8_0_mc_program() 484 WREG32(mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in gmc_v8_0_mc_program()
|
D | gfxhub_v2_1.c | 361 adev->gmc.vram_start >> 24); in gfxhub_v2_1_gart_enable()
|
/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 | rv515.c | 360 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 362 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 365 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 367 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 371 (u32)rdev->mc.vram_start); in rv515_mc_resume() 373 (u32)rdev->mc.vram_start); in rv515_mc_resume() 375 WREG32(R_000310_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in rv515_mc_resume() 454 S_000001_MC_FB_START(rdev->mc.vram_start >> 16) | in rv515_mc_program() 457 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rv515_mc_program()
|
D | rv770.c | 1042 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in rv770_mc_program() 1045 rdev->mc.vram_start >> 12); in rv770_mc_program() 1057 rdev->mc.vram_start >> 12); in rv770_mc_program() 1063 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in rv770_mc_program() 1065 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in rv770_mc_program() 1632 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r700_vram_gtt_location() 1639 mc->vram_start = mc->gtt_end + 1; in r700_vram_gtt_location() 1641 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location() 1643 mc->mc_vram_size >> 20, mc->vram_start, in r700_vram_gtt_location()
|
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 | 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 | 610 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 | 2771 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2773 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2775 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2777 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2781 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2782 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2875 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in evergreen_mc_program() 2878 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2890 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2901 tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; in evergreen_mc_program() [all …]
|
D | radeon_fb.c | 269 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
|
D | r600.c | 1326 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in r600_mc_program() 1329 rdev->mc.vram_start >> 12); in r600_mc_program() 1340 WREG32(MC_VM_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start >> 12); in r600_mc_program() 1345 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in r600_mc_program() 1347 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in r600_mc_program() 1408 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r600_vram_gtt_location() 1415 mc->vram_start = mc->gtt_end + 1; in r600_vram_gtt_location() 1417 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location() 1419 mc->mc_vram_size >> 20, mc->vram_start, in r600_vram_gtt_location()
|
D | radeon_ttm.c | 157 old_start += rdev->mc.vram_start; in radeon_move_blit() 168 new_start += rdev->mc.vram_start; in radeon_move_blit()
|
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()
|
D | rs400.c | 399 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
|
D | r300.c | 175 WREG32_PCIE(RADEON_PCIE_TX_DISCARD_RD_ADDR_LO, rdev->mc.vram_start); in rv370_pcie_gart_enable() 1351 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in r300_mc_program()
|
/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
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 741 dev->vram_start = pci_resource_start(pdev, 2); in vmw_setup_pci_resources() 758 dev->vram_start = pci_resource_start(pdev, 1); in vmw_setup_pci_resources() 790 &dev->vram_start, (uint64_t)dev->vram_size / 1024); in vmw_setup_pci_resources()
|
D | vmwgfx_ttm_buffer.c | 625 dev_priv->vram_start; in vmw_ttm_io_mem_reserve()
|