Lines Matching refs:vcpu_bo

191 			     NULL, &rdev->uvd.vcpu_bo);  in radeon_uvd_init()
197 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_init()
199 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
204 r = radeon_bo_pin(rdev->uvd.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_uvd_init()
207 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
208 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
213 r = radeon_bo_kmap(rdev->uvd.vcpu_bo, &rdev->uvd.cpu_addr); in radeon_uvd_init()
219 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
234 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_fini()
237 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_fini()
239 radeon_bo_kunmap(rdev->uvd.vcpu_bo); in radeon_uvd_fini()
240 radeon_bo_unpin(rdev->uvd.vcpu_bo); in radeon_uvd_fini()
241 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_fini()
244 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_fini()
255 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_suspend()
288 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_resume()
293 size = radeon_bo_size(rdev->uvd.vcpu_bo); in radeon_uvd_resume()
783 uint64_t offs = radeon_bo_size(rdev->uvd.vcpu_bo) - in radeon_uvd_get_create_msg()
791 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, true); in radeon_uvd_get_create_msg()
811 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_get_create_msg()
819 uint64_t offs = radeon_bo_size(rdev->uvd.vcpu_bo) - in radeon_uvd_get_destroy_msg()
827 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, true); in radeon_uvd_get_destroy_msg()
840 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_get_destroy_msg()