Home
last modified time | relevance | path

Searched refs:vram_end (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c209 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location()
221 mc->fb_end = mc->vram_end; in amdgpu_gmc_vram_location()
225 mc->vram_end, mc->real_vram_size >> 20); in amdgpu_gmc_vram_location()
249 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location()
256 mc->vram_end, mc->real_vram_size >> 20); in amdgpu_gmc_sysvm_location()
784 u64 vram_end = vram_addr + vram_size; in amdgpu_gmc_init_pdb0() local
800 for (i = 0; vram_addr < vram_end; i++, vram_addr += pde0_page_size) in amdgpu_gmc_init_pdb0()
Dimu_v11_0_3.c128 data = adev->gmc.vram_end >> 24; in program_rlc_ram_register_setting()
Damdgpu_gmc.h247 u64 vram_end; member
Dgfxhub_v2_1.c365 adev->gmc.vram_end >> 24); in gfxhub_v2_1_gart_enable()
650 WREG32_SOC15(GC, 0, mmGCMC_VM_FB_LOCATION_TOP, adev->gmc.vram_end >> 24); in gfxhub_v2_1_restore_regs()
Dimu_v11_0.c337 data = adev->gmc.vram_end >> 24; in program_imu_rlc_ram()
Dgfxhub_v3_0.c364 adev->gmc.vram_end >> 24); in gfxhub_v3_0_gart_enable()
Dmmhub_v2_3.c357 adev->gmc.vram_end >> 24); in mmhub_v2_3_gart_enable()
Dgmc_v8_0.c461 adev->gmc.vram_end >> 12); in gmc_v8_0_mc_program()
466 tmp = ((adev->gmc.vram_end >> 24) & 0xFFFF) << 16; in gmc_v8_0_mc_program()
Dgmc_v6_0.c252 adev->gmc.vram_end >> 12); in gmc_v6_0_mc_program()
Dmmhub_v1_0.c322 adev->gmc.vram_end >> 24); in mmhub_v1_0_gart_enable()
Dgmc_v7_0.c287 adev->gmc.vram_end >> 12); in gmc_v7_0_mc_program()
/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()
200 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves()
Dradeon_device.c577 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()
588 mc->vram_end, mc->real_vram_size >> 20); in radeon_vram_location()
607 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
620 mc->gtt_start = (mc->vram_end + 1 + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
Drv770.c1043 rdev->mc.vram_end >> 12); in rv770_mc_program()
1049 rdev->mc.vram_end >> 12); in rv770_mc_program()
1052 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in rv770_mc_program()
1631 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location()
1634 mc->vram_end, mc->real_vram_size >> 20); in r700_vram_gtt_location()
Dr520.c148 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r520_mc_program()
Drs400.c400 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs400_mc_program()
Drs600.c612 WREG32_MC(R_000114_MC_PT0_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end); in rs600_gart_enable()
979 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs600_mc_program()
Dr600.c1337 rdev->mc.vram_end >> 12); in r600_mc_program()
1341 WREG32(MC_VM_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end >> 12); in r600_mc_program()
1344 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in r600_mc_program()
1417 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location()
1420 mc->vram_end, mc->real_vram_size >> 20); in r600_vram_gtt_location()
Drs690.c689 S_000100_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs690_mc_program()
Devergreen.c2887 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2893 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2901 tmp |= ((rdev->mc.vram_end >> 20) & 0xF) << 24; in evergreen_mc_program()
2905 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in evergreen_mc_program()
Dr300.c1351 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r300_mc_program()
Drv515.c455 S_000001_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rv515_mc_program()
Dsi.c4163 rdev->mc.vram_end >> 12); in si_mc_program()
4166 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in si_mc_program()
Dradeon.h648 u64 vram_end; member
Dcik.c5297 rdev->mc.vram_end >> 12); in cik_mc_program()
5300 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in cik_mc_program()

12