Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_test.c88 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 …]
Damdgpu_gmc.c152 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()
Dgfxhub_v2_1.c162 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()
Dgfxhub_v1_0.c101 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()
Dgfxhub_v2_0.c163 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()
Damdgpu_gmc.h197 u64 vram_start; member
Dmmhub_v2_0.c206 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()
Damdgpu_fb.c248 tmp = amdgpu_bo_gpu_offset(abo) - adev->gmc.vram_start; in amdgpufb_create()
Dmmhub_v1_0.c117 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()
Dgmc_v9_0.c1038 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()
Dgmc_v8_0.c482 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/
Dradeon_test.c87 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 …]
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()
Drv515.c390 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()
Drv770.c1035 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()
Dradeon_device.c570 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()
Dradeon_object.h103 start = rdev->mc.vram_start; in radeon_bo_gpu_offset()
Drs600.c604 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()
Devergreen.c2770 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 …]
Dradeon_fb.c268 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeonfb_create()
Dr600.c1327 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()
Drs400.c404 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
Drs690.c688 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/
Dvermilion.c208 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()
Dvermilion.h203 u64 vram_start; member

12