Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_test.c80 void **vram_start, **vram_end; in amdgpu_do_test_moves() local
137 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves()
138 vram_start < vram_end; in amdgpu_do_test_moves()
139 gart_start++, vram_start++) { in amdgpu_do_test_moves()
140 if (*vram_start != gart_start) { in amdgpu_do_test_moves()
144 i, *vram_start, gart_start, in amdgpu_do_test_moves()
149 (vram_addr - adev->mc.vram_start + in amdgpu_do_test_moves()
154 *vram_start = vram_start; in amdgpu_do_test_moves()
183 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves()
185 gart_start++, vram_start++) { in amdgpu_do_test_moves()
[all …]
Dgfxhub_v1_0.c44 value = adev->gart.table_addr - adev->mc.vram_start in gfxhub_v1_0_init_gart_pt_regs()
82 adev->mc.vram_start >> 18); in gfxhub_v1_0_init_system_aperture_regs()
87 value = adev->vram_scratch.gpu_addr - adev->mc.vram_start in gfxhub_v1_0_init_system_aperture_regs()
245 adev->mc.vram_start >> 24); in gfxhub_v1_0_gart_enable()
Dmmhub_v1_0.c55 value = adev->gart.table_addr - adev->mc.vram_start + in mmhub_v1_0_init_gart_pt_regs()
94 adev->mc.vram_start >> 18); in mmhub_v1_0_init_system_aperture_regs()
99 value = adev->vram_scratch.gpu_addr - adev->mc.vram_start + in mmhub_v1_0_init_system_aperture_regs()
486 adev->mc.vram_start >> 24); in mmhub_v1_0_gart_enable()
Dgmc_v8_0.c486 adev->mc.vram_start >> 12); in gmc_v8_0_mc_program()
494 tmp |= ((adev->mc.vram_start >> 24) & 0xFFFF); in gmc_v8_0_mc_program()
497 WREG32(mmHDP_NONSURFACE_BASE, (adev->mc.vram_start >> 8)); in gmc_v8_0_mc_program()
Damdgpu_fb.c250 tmp = amdgpu_bo_gpu_offset(abo) - adev->mc.vram_start; in amdgpufb_create()
Dgmc_v9_0.c366 addr = adev->vm_manager.vram_base_offset + addr - adev->mc.vram_start; in gmc_v9_0_get_vm_pde()
Damdgpu_device.c599 mc->vram_start = base; in amdgpu_vram_location()
605 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_vram_location()
609 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_vram_location()
630 size_bf = mc->vram_start; in amdgpu_gart_location()
Dgmc_v6_0.c267 adev->mc.vram_start >> 12); in gmc_v6_0_mc_program()
/drivers/gpu/drm/radeon/
Dradeon_test.c86 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()
199 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves()
201 gtt_start++, vram_start++) { in radeon_do_test_moves()
[all …]
Drv770.c1031 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in rv770_mc_program()
1034 rdev->mc.vram_start >> 12); in rv770_mc_program()
1046 rdev->mc.vram_start >> 12); in rv770_mc_program()
1052 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in rv770_mc_program()
1054 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in rv770_mc_program()
1621 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r700_vram_gtt_location()
1628 mc->vram_start = mc->gtt_end + 1; in r700_vram_gtt_location()
1630 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location()
1632 mc->mc_vram_size >> 20, mc->vram_start, in r700_vram_gtt_location()
Drv515.c385 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume()
387 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume()
390 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume()
392 upper_32_bits(rdev->mc.vram_start)); in rv515_mc_resume()
396 (u32)rdev->mc.vram_start); in rv515_mc_resume()
398 (u32)rdev->mc.vram_start); in rv515_mc_resume()
400 WREG32(R_000310_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in rv515_mc_resume()
479 S_000001_MC_FB_START(rdev->mc.vram_start >> 16) | in rv515_mc_program()
482 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rv515_mc_program()
Dr520.c147 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()
Dradeon_device.c593 mc->vram_start = base; in radeon_vram_location()
599 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location()
600 if (rdev->flags & RADEON_IS_AGP && mc->vram_end > mc->gtt_start && mc->vram_start <= mc->gtt_end) { in radeon_vram_location()
605 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location()
609 mc->mc_vram_size >> 20, mc->vram_start, in radeon_vram_location()
630 size_bf = mc->vram_start & ~mc->gtt_base_align; in radeon_gtt_location()
636 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; in radeon_gtt_location()
Drs600.c599 WREG32_MC(R_000112_MC_PT0_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start); in rs600_gart_enable()
972 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in rs600_mc_program()
975 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs600_mc_program()
Devergreen.c2766 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume()
2768 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume()
2770 (u32)rdev->mc.vram_start); in evergreen_mc_resume()
2772 (u32)rdev->mc.vram_start); in evergreen_mc_resume()
2776 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume()
2777 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in evergreen_mc_resume()
2870 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in evergreen_mc_program()
2873 rdev->mc.vram_start >> 12); in evergreen_mc_program()
2885 rdev->mc.vram_start >> 12); in evergreen_mc_program()
2896 tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; in evergreen_mc_program()
[all …]
Dradeon_ttm.c165 man->gpu_offset = rdev->mc.vram_start; in radeon_init_mem_type()
272 old_start += rdev->mc.vram_start; in radeon_move_blit()
283 new_start += rdev->mc.vram_start; in radeon_move_blit()
Dradeon_fb.c268 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
Dr600.c1321 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in r600_mc_program()
1324 rdev->mc.vram_start >> 12); in r600_mc_program()
1335 WREG32(MC_VM_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start >> 12); in r600_mc_program()
1340 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in r600_mc_program()
1342 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in r600_mc_program()
1403 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r600_vram_gtt_location()
1410 mc->vram_start = mc->gtt_end + 1; in r600_vram_gtt_location()
1412 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location()
1414 mc->mc_vram_size >> 20, mc->vram_start, in r600_vram_gtt_location()
Drs690.c686 S_000100_MC_FB_START(rdev->mc.vram_start >> 16) | in rs690_mc_program()
689 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs690_mc_program()
Drs400.c399 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
Dr300.c171 WREG32_PCIE(RADEON_PCIE_TX_DISCARD_RD_ADDR_LO, rdev->mc.vram_start); in rv370_pcie_gart_enable()
1353 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in r300_mc_program()
/drivers/video/fbdev/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()
501 info->fix.smem_start = vinfo->vram_start; in vml_pci_probe()
868 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_set_par_locked()
955 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_drv.c671 dev_priv->vram_start = pci_resource_start(dev->pdev, 1); in vmw_driver_load()
771 dev_priv->vram_start, dev_priv->vram_size / 1024); in vmw_driver_load()
Dvmwgfx_buffer.c799 mem->bus.base = dev_priv->vram_start; in vmw_ttm_io_mem_reserve()

12