Lines Matching refs:vram_scratch
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()
1526 radeon_bo_unreserve(rdev->vram_scratch.robj); in r600_vram_scratch_init()
1535 if (rdev->vram_scratch.robj == NULL) { in r600_vram_scratch_fini()
1538 r = radeon_bo_reserve(rdev->vram_scratch.robj, false); in r600_vram_scratch_fini()
1540 radeon_bo_kunmap(rdev->vram_scratch.robj); in r600_vram_scratch_fini()
1541 radeon_bo_unpin(rdev->vram_scratch.robj); in r600_vram_scratch_fini()
1542 radeon_bo_unreserve(rdev->vram_scratch.robj); in r600_vram_scratch_fini()
1544 radeon_bo_unref(&rdev->vram_scratch.robj); in r600_vram_scratch_fini()
4342 rdev->vram_scratch.ptr && !(rdev->flags & RADEON_IS_AGP)) { in r600_mmio_hdp_flush()
4343 void __iomem *ptr = (void *)rdev->vram_scratch.ptr; in r600_mmio_hdp_flush()