/Linux-v6.6/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 | 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 | rv770.c | 1032 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in rv770_mc_program() 1035 rdev->mc.vram_start >> 12); in rv770_mc_program() 1047 rdev->mc.vram_start >> 12); in rv770_mc_program() 1053 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in rv770_mc_program() 1055 WREG32(HDP_NONSURFACE_BASE, (rdev->mc.vram_start >> 8)); in rv770_mc_program() 1622 mc->vram_start = mc->gtt_start - mc->mc_vram_size; in r700_vram_gtt_location() 1629 mc->vram_start = mc->gtt_end + 1; in r700_vram_gtt_location() 1631 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location() 1633 mc->mc_vram_size >> 20, mc->vram_start, in r700_vram_gtt_location()
|
D | radeon_device.c | 571 mc->vram_start = base; in radeon_vram_location() 577 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 578 if (rdev->flags & RADEON_IS_AGP && mc->vram_end > mc->gtt_start && mc->vram_start <= mc->gtt_end) { in radeon_vram_location() 583 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in radeon_vram_location() 587 mc->mc_vram_size >> 20, mc->vram_start, in radeon_vram_location() 608 size_bf = mc->vram_start & ~mc->gtt_base_align; in radeon_gtt_location() 614 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 | 611 WREG32_MC(R_000112_MC_PT0_SYSTEM_APERTURE_LOW_ADDR, rdev->mc.vram_start); in rs600_gart_enable() 978 S_000004_MC_FB_START(rdev->mc.vram_start >> 16) | in rs600_mc_program() 981 S_000134_HDP_FB_START(rdev->mc.vram_start >> 16)); in rs600_mc_program()
|
D | evergreen.c | 2772 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2774 upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2776 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2778 (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2782 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); in evergreen_mc_resume() 2783 WREG32(EVERGREEN_VGA_MEMORY_BASE_ADDRESS, (u32)rdev->mc.vram_start); in evergreen_mc_resume() 2876 if (rdev->mc.vram_start < rdev->mc.gtt_start) { in evergreen_mc_program() 2879 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2891 rdev->mc.vram_start >> 12); in evergreen_mc_program() 2902 tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; in evergreen_mc_program() [all …]
|
D | radeon_fbdev.c | 262 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeon_fbdev_fb_helper_fb_probe()
|
D | radeon_ttm.c | 156 old_start += rdev->mc.vram_start; in radeon_move_blit() 167 new_start += rdev->mc.vram_start; in radeon_move_blit()
|
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 | rs400.c | 399 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gmc.c | 208 mc->vram_start = base; in amdgpu_gmc_vram_location() 209 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location() 220 mc->fb_start = mc->vram_start; in amdgpu_gmc_vram_location() 224 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_gmc_vram_location() 248 mc->vram_start = mc->xgmi.node_segment_size * mc->xgmi.physical_node_id; in amdgpu_gmc_sysvm_location() 249 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location() 255 mc->mc_vram_size >> 20, mc->vram_start, in amdgpu_gmc_sysvm_location() 823 return mc_addr - adev->gmc.vram_start + adev->vm_manager.vram_base_offset; in amdgpu_gmc_vram_mc2pa() 847 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 | 153 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in hdp_v4_0_init_registers() 154 WREG32_SOC15(HDP, 0, mmHDP_NONSURFACE_BASE_HI, (adev->gmc.vram_start >> 40)); in hdp_v4_0_init_registers()
|
D | amdgpu_fw_attestation.c | 79 vram_pos = records_addr - adev->gmc.vram_start; in amdgpu_fw_attestation_debugfs_read()
|
D | imu_v11_0_3.c | 126 data = adev->gmc.vram_start >> 24; in program_rlc_ram_register_setting()
|
D | gfxhub_v3_0.c | 167 value = adev->mem_scratch.gpu_addr - adev->gmc.vram_start in gfxhub_v3_0_init_system_aperture_regs() 362 adev->gmc.vram_start >> 24); in gfxhub_v3_0_gart_enable()
|
D | amdgpu_gmc.h | 246 u64 vram_start; member
|
D | gfxhub_v2_1.c | 363 adev->gmc.vram_start >> 24); in gfxhub_v2_1_gart_enable() 649 WREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_BASE, adev->gmc.vram_start >> 24); in gfxhub_v2_1_restore_regs()
|
D | gmc_v8_0.c | 459 adev->gmc.vram_start >> 12); in gmc_v8_0_mc_program() 467 tmp |= ((adev->gmc.vram_start >> 24) & 0xFFFF); in gmc_v8_0_mc_program() 470 WREG32(mmHDP_NONSURFACE_BASE, (adev->gmc.vram_start >> 8)); in gmc_v8_0_mc_program()
|
D | imu_v11_0.c | 335 data = adev->gmc.vram_start >> 24; in program_imu_rlc_ram()
|
/Linux-v6.6/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 209 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 227 if (va->phys < vinfo->vram_start) { in vmlfb_alloc_vram() 228 vinfo->vram_start = va->phys; in vmlfb_alloc_vram() 251 (unsigned long)vinfo->vram_start); in vmlfb_alloc_vram() 298 aoffset = offset - (vinfo->vram[i].phys - vinfo->vram_start); in vmlfb_vram_offset() 494 info->fix.smem_start = vinfo->vram_start; in vml_pci_probe() 861 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_set_par_locked() 948 VML_WRITE32(par, VML_DSPCADDR, (u32) vinfo->vram_start + in vmlfb_pan_display() 1009 return vm_iomap_memory(vma, vinfo->vram_start, in vmlfb_mmap()
|
D | vermilion.h | 203 u64 vram_start; member
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 742 dev->vram_start = pci_resource_start(pdev, 2); in vmw_setup_pci_resources() 759 dev->vram_start = pci_resource_start(pdev, 1); in vmw_setup_pci_resources() 791 &dev->vram_start, (uint64_t)dev->vram_size / 1024); in vmw_setup_pci_resources()
|
D | vmwgfx_ttm_buffer.c | 466 dev_priv->vram_start; in vmw_ttm_io_mem_reserve()
|