Home
last modified time | relevance | path

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

/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()
183 vram_start = vram_map, vram_end = vram_map + size; in amdgpu_do_test_moves()
Dgfxhub_v1_0.c84 adev->mc.vram_end >> 18); in gfxhub_v1_0_init_system_aperture_regs()
247 adev->mc.vram_end >> 24); in gfxhub_v1_0_gart_enable()
Dmmhub_v1_0.c96 adev->mc.vram_end >> 18); in mmhub_v1_0_init_system_aperture_regs()
488 adev->mc.vram_end >> 24); in mmhub_v1_0_gart_enable()
Dgmc_v8_0.c488 adev->mc.vram_end >> 12); in gmc_v8_0_mc_program()
493 tmp = ((adev->mc.vram_end >> 24) & 0xFFFF) << 16; in gmc_v8_0_mc_program()
Damdgpu_device.c605 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_vram_location()
610 mc->vram_end, mc->real_vram_size >> 20); in amdgpu_vram_location()
629 size_af = adev->mc.mc_mask - mc->vram_end; in amdgpu_gart_location()
642 mc->gart_start = mc->vram_end + 1; in amdgpu_gart_location()
Dgmc_v6_0.c269 adev->mc.vram_end >> 12); in gmc_v6_0_mc_program()
Dgmc_v7_0.c294 adev->mc.vram_end >> 12); in gmc_v7_0_mc_program()
Damdgpu.h499 u64 vram_end; member
/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()
199 vram_start = vram_map, vram_end = vram_map + size; in radeon_do_test_moves()
Dradeon_device.c599 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()
610 mc->vram_end, mc->real_vram_size >> 20); in radeon_vram_location()
629 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
642 mc->gtt_start = (mc->vram_end + 1 + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
Drv770.c1042 rdev->mc.vram_end >> 12); in rv770_mc_program()
1048 rdev->mc.vram_end >> 12); in rv770_mc_program()
1051 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in rv770_mc_program()
1630 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r700_vram_gtt_location()
1633 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()
Drs600.c600 WREG32_MC(R_000114_MC_PT0_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end); in rs600_gart_enable()
973 S_000004_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs600_mc_program()
Drs400.c400 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs400_mc_program()
Dr600.c1332 rdev->mc.vram_end >> 12); in r600_mc_program()
1336 WREG32(MC_VM_SYSTEM_APERTURE_HIGH_ADDR, rdev->mc.vram_end >> 12); in r600_mc_program()
1339 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in r600_mc_program()
1412 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in r600_vram_gtt_location()
1415 mc->vram_end, mc->real_vram_size >> 20); in r600_vram_gtt_location()
Drs690.c687 S_000100_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rs690_mc_program()
Devergreen.c2881 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2887 rdev->mc.vram_end >> 12); in evergreen_mc_program()
2895 tmp |= ((rdev->mc.vram_end >> 20) & 0xF) << 24; in evergreen_mc_program()
2899 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in evergreen_mc_program()
Dr300.c1354 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r300_mc_program()
Drv515.c480 S_000001_MC_FB_TOP(rdev->mc.vram_end >> 16)); in rv515_mc_program()
Dsi.c4164 rdev->mc.vram_end >> 12); in si_mc_program()
4167 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in si_mc_program()
Dradeon.h692 u64 vram_end; member
Dcik.c5317 rdev->mc.vram_end >> 12); in cik_mc_program()
5320 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in cik_mc_program()
Dr100.c3866 S_000148_MC_FB_TOP(rdev->mc.vram_end >> 16)); in r100_mc_program()