Home
last modified time | relevance | path

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

12

/Linux-v6.6/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 …]
Drv515.c360 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()
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()
Drv770.c1032 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()
Dradeon_device.c571 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()
Dradeon_object.h103 start = rdev->mc.vram_start; in radeon_bo_gpu_offset()
Drs600.c611 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()
Devergreen.c2772 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 …]
Dradeon_fbdev.c262 tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; in radeon_fbdev_fb_helper_fb_probe()
Dradeon_ttm.c156 old_start += rdev->mc.vram_start; in radeon_move_blit()
167 new_start += rdev->mc.vram_start; in radeon_move_blit()
Dr600.c1326 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()
Drs400.c399 S_000148_MC_FB_START(rdev->mc.vram_start >> 16) | in rs400_mc_program()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c208 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()
Dhdp_v4_0.c153 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()
Damdgpu_fw_attestation.c79 vram_pos = records_addr - adev->gmc.vram_start; in amdgpu_fw_attestation_debugfs_read()
Dimu_v11_0_3.c126 data = adev->gmc.vram_start >> 24; in program_rlc_ram_register_setting()
Dgfxhub_v3_0.c167 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()
Damdgpu_gmc.h246 u64 vram_start; member
Dgfxhub_v2_1.c363 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()
Dgmc_v8_0.c459 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()
Dimu_v11_0.c335 data = adev->gmc.vram_start >> 24; in program_imu_rlc_ram()
/Linux-v6.6/drivers/video/fbdev/vermilion/
Dvermilion.c209 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()
Dvermilion.h203 u64 vram_start; member
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c742 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()
Dvmwgfx_ttm_buffer.c466 dev_priv->vram_start; in vmw_ttm_io_mem_reserve()

12