Searched refs:vram_scratch (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 246 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 …]
|
D | gmc_v8_0.c | 364 adev->vram_scratch.gpu_addr >> 12); in gmc_v8_0_mc_program()
|
D | gmc_v7_0.c | 324 adev->vram_scratch.gpu_addr >> 12); in gmc_v7_0_mc_program()
|
D | amdgpu.h | 2037 struct amdgpu_vram_scratch vram_scratch; member
|
/drivers/gpu/drm/radeon/ |
D | r600.c | 1336 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 …]
|
D | rv770.c | 1048 WREG32(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, rdev->vram_scratch.gpu_addr >> 12); in rv770_mc_program()
|
D | radeon.h | 2413 struct r600_vram_scratch vram_scratch; member
|
D | evergreen.c | 2982 WREG32(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR, rdev->vram_scratch.gpu_addr >> 12); in evergreen_mc_program()
|
D | si.c | 4162 rdev->vram_scratch.gpu_addr >> 12); in si_mc_program()
|
D | cik.c | 5679 rdev->vram_scratch.gpu_addr >> 12); in cik_mc_program()
|