Home
last modified time | relevance | path

Searched refs:vram_start (Results 1 – 24 of 24) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_test.c93 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 …]
Drv515.c380 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()
Dradeon_device.c393 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()
Drv770.c1121 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()
Dr520.c148 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()
Dradeon_ttm.c161 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()
Drs600.c537 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()
Devergreen.c2435 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 …]
Dradeon_fb.c252 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
Dr600.c1091 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()
Drs690.c619 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()
Drs400.c384 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
Dr300.c138 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()
Dradeon_object.c228 domain_start = bo->rdev->mc.vram_start; in radeon_bo_pin_restricted()
Dradeon_legacy_crtc.c442 radeon_crtc->legacy_display_base_addr = rdev->mc.vram_start; in radeon_crtc_do_set_base()
Dr100.c3767 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()
Dsi.c3512 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()
Dradeon.h525 u64 vram_start; member
/drivers/video/vermilion/
Dvermilion.c222 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()
Dvermilion.h217 u64 vram_start; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c277 mem->bus.base = dev_priv->vram_start; in vmw_ttm_io_mem_reserve()
Dvmwgfx_drv.c467 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()
Dvmwgfx_drv.h230 uint32_t vram_start; member
Dvmwgfx_fb.c521 info->apertures->ranges[0].base = vmw_priv->vram_start; in vmw_fb_init()