Home
last modified time | relevance | path

Searched refs:vram_scratch (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c246 if (adev->vram_scratch.robj == NULL) { in amdgpu_vram_scratch_init()
250 NULL, NULL, &adev->vram_scratch.robj); in amdgpu_vram_scratch_init()
256 r = amdgpu_bo_reserve(adev->vram_scratch.robj, false); in amdgpu_vram_scratch_init()
259 r = amdgpu_bo_pin(adev->vram_scratch.robj, in amdgpu_vram_scratch_init()
260 AMDGPU_GEM_DOMAIN_VRAM, &adev->vram_scratch.gpu_addr); in amdgpu_vram_scratch_init()
262 amdgpu_bo_unreserve(adev->vram_scratch.robj); in amdgpu_vram_scratch_init()
265 r = amdgpu_bo_kmap(adev->vram_scratch.robj, in amdgpu_vram_scratch_init()
266 (void **)&adev->vram_scratch.ptr); in amdgpu_vram_scratch_init()
268 amdgpu_bo_unpin(adev->vram_scratch.robj); in amdgpu_vram_scratch_init()
269 amdgpu_bo_unreserve(adev->vram_scratch.robj); in amdgpu_vram_scratch_init()
[all …]
Dgmc_v8_0.c364 adev->vram_scratch.gpu_addr >> 12); in gmc_v8_0_mc_program()
Dgmc_v7_0.c324 adev->vram_scratch.gpu_addr >> 12); in gmc_v7_0_mc_program()
Damdgpu.h2037 struct amdgpu_vram_scratch vram_scratch; member
/drivers/gpu/drm/radeon/
Dr600.c1336 WREG32(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, rdev->vram_scratch.gpu_addr >> 12); in r600_mc_program()
1504 if (rdev->vram_scratch.robj == NULL) { in r600_vram_scratch_init()
1507 0, NULL, NULL, &rdev->vram_scratch.robj); in r600_vram_scratch_init()
1513 r = radeon_bo_reserve(rdev->vram_scratch.robj, false); in r600_vram_scratch_init()
1516 r = radeon_bo_pin(rdev->vram_scratch.robj, in r600_vram_scratch_init()
1517 RADEON_GEM_DOMAIN_VRAM, &rdev->vram_scratch.gpu_addr); in r600_vram_scratch_init()
1519 radeon_bo_unreserve(rdev->vram_scratch.robj); in r600_vram_scratch_init()
1522 r = radeon_bo_kmap(rdev->vram_scratch.robj, in r600_vram_scratch_init()
1523 (void **)&rdev->vram_scratch.ptr); in r600_vram_scratch_init()
1525 radeon_bo_unpin(rdev->vram_scratch.robj); in r600_vram_scratch_init()
[all …]
Drv770.c1048 WREG32(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, rdev->vram_scratch.gpu_addr >> 12); in rv770_mc_program()
Dradeon.h2413 struct r600_vram_scratch vram_scratch; member
Devergreen.c2982 WREG32(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, rdev->vram_scratch.gpu_addr >> 12); in evergreen_mc_program()
Dsi.c4162 rdev->vram_scratch.gpu_addr >> 12); in si_mc_program()
Dcik.c5679 rdev->vram_scratch.gpu_addr >> 12); in cik_mc_program()