/drivers/gpu/drm/radeon/ |
D | radeon_test.c | 93 void **vram_start, **vram_end; in radeon_do_test_moves() local 148 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves() 149 vram_start < vram_end; in radeon_do_test_moves() 150 gtt_start++, vram_start++) { in radeon_do_test_moves() 151 if (*vram_start != gtt_start) { in radeon_do_test_moves() 155 i, *vram_start, gtt_start, in radeon_do_test_moves() 160 (vram_addr - rdev->mc.vram_start + in radeon_do_test_moves() 165 *vram_start = vram_start; in radeon_do_test_moves() 194 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves() 196 gtt_start++, vram_start++) { in radeon_do_test_moves() [all …]
|
D | rv515.c | 380 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 382 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 385 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 387 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume() 391 (u32)rdev->mc.vram_start); in rv515_mc_resume() 393 (u32)rdev->mc.vram_start); in rv515_mc_resume() 395 WREG32(R_000310_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in rv515_mc_resume() 473 S_000001_MC_FB_START(rdev->mc.vram_start >> 16) | in rv515_mc_program() 476 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rv515_mc_program()
|
D | radeon_device.c | 393 mc->vram_start = base; in radeon_vram_location() 399 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 400 if (rdev->flags & RADEON_IS_AGP && mc->vram_end > mc->gtt_start && mc->vram_start <= mc->gtt_end) { in radeon_vram_location() 405 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 409 mc->mc_vram_size >> 20, mc->vram_start, in radeon_vram_location() 430 size_bf = mc->vram_start & ~mc->gtt_base_align; in radeon_gtt_location() 436 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; in radeon_gtt_location()
|
D | rv770.c | 1121 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in rv770_mc_program() 1124 rdev->mc.vram_start >> 12); in rv770_mc_program() 1136 rdev->mc.vram_start >> 12); in rv770_mc_program() 1142 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in rv770_mc_program() 1144 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in rv770_mc_program() 1685 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r700_vram_gtt_location() 1692 mc->vram_start = mc->gtt_end + 1; in r700_vram_gtt_location() 1694 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location() 1696 mc->mc_vram_size >> 20, mc->vram_start, in r700_vram_gtt_location()
|
D | r520.c | 148 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in r520_mc_program() 151 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in r520_mc_program()
|
D | radeon_ttm.c | 161 man->gpu_offset = rdev->mc.vram_start; in radeon_init_mem_type() 236 old_start += rdev->mc.vram_start; in radeon_move_blit() 247 new_start += rdev->mc.vram_start; in radeon_move_blit()
|
D | rs600.c | 537 WREG32_MC(R_000112_MC_PT0_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start); in rs600_gart_enable() 891 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in rs600_mc_program() 894 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs600_mc_program()
|
D | evergreen.c | 2435 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2437 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2439 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2441 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2445 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2446 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2539 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in evergreen_mc_program() 2542 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2554 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2565 tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; in evergreen_mc_program() [all …]
|
D | radeon_fb.c | 252 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
|
D | r600.c | 1091 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in r600_mc_program() 1094 rdev->mc.vram_start >> 12); in r600_mc_program() 1105 WREG32(MC_VM_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start >> 12); in r600_mc_program() 1110 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in r600_mc_program() 1112 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in r600_mc_program() 1173 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r600_vram_gtt_location() 1180 mc->vram_start = mc->gtt_end + 1; in r600_vram_gtt_location() 1182 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location() 1184 mc->mc_vram_size >> 20, mc->vram_start, in r600_vram_gtt_location()
|
D | rs690.c | 619 S_000100_MC_FB_START(rdev->mc.vram_start >> 16) | in rs690_mc_program() 622 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs690_mc_program()
|
D | rs400.c | 384 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
|
D | r300.c | 138 WREG32_PCIE(RADEON_PCIE_TX_DISCARD_RD_ADDR_LO, rdev->mc.vram_start); in rv370_pcie_gart_enable() 1323 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in r300_mc_program()
|
D | radeon_object.c | 228 domain_start = bo->rdev->mc.vram_start; in radeon_bo_pin_restricted()
|
D | radeon_legacy_crtc.c | 442 radeon_crtc->legacy_display_base_addr = rdev->mc.vram_start; in radeon_crtc_do_set_base()
|
D | r100.c | 3767 WREG32(R_00023C_DISPLAY_BASE_ADDR, rdev->mc.vram_start); in r100_mc_resume() 3769 WREG32(R_00033C_CRTC2_DISPLAY_BASE_ADDR, rdev->mc.vram_start); in r100_mc_resume() 3822 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in r100_mc_program()
|
D | si.c | 3512 rdev->mc.vram_start >> 12); in si_mc_program() 3518 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in si_mc_program() 3521 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in si_mc_program()
|
D | radeon.h | 525 u64 vram_start; member
|
/drivers/video/vermilion/ |
D | vermilion.c | 222 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 240 if (va->phys < vinfo->vram_start) { in vmlfb_alloc_vram() 241 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 264 (unsigned long)vinfo->vram_start); in vmlfb_alloc_vram() 309 aoffset = offset - (vinfo->vram[i].phys - vinfo->vram_start); in vmlfb_vram_offset() 503 info->fix.smem_start = vinfo->vram_start; in vml_pci_probe() 870 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_set_par_locked() 957 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_pan_display() 1016 return vm_iomap_memory(vma, vinfo->vram_start, in vmlfb_mmap()
|
D | vermilion.h | 217 u64 vram_start; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_buffer.c | 277 mem->bus.base = dev_priv->vram_start; in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_drv.c | 467 dev_priv->vram_start = pci_resource_start(dev->pdev, 1); in vmw_driver_load() 530 dev_priv->vram_start, dev_priv->vram_size / 1024); in vmw_driver_load()
|
D | vmwgfx_drv.h | 230 uint32_t vram_start; member
|
D | vmwgfx_fb.c | 521 info->apertures->ranges[0].base = vmw_priv->vram_start; in vmw_fb_init()
|