Lines Matching refs:mqd_obj
4344 if (rdev->ring[idx].mqd_obj) { in cik_cp_compute_fini()
4345 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_fini()
4349 radeon_bo_unpin(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4350 radeon_bo_unreserve(rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4352 radeon_bo_unref(&rdev->ring[idx].mqd_obj); in cik_cp_compute_fini()
4353 rdev->ring[idx].mqd_obj = NULL; in cik_cp_compute_fini()
4563 if (rdev->ring[idx].mqd_obj == NULL) { in cik_cp_compute_resume()
4568 NULL, &rdev->ring[idx].mqd_obj); in cik_cp_compute_resume()
4575 r = radeon_bo_reserve(rdev->ring[idx].mqd_obj, false); in cik_cp_compute_resume()
4580 r = radeon_bo_pin(rdev->ring[idx].mqd_obj, RADEON_GEM_DOMAIN_GTT, in cik_cp_compute_resume()
4587 r = radeon_bo_kmap(rdev->ring[idx].mqd_obj, (void **)&buf); in cik_cp_compute_resume()
4733 radeon_bo_kunmap(rdev->ring[idx].mqd_obj); in cik_cp_compute_resume()
4734 radeon_bo_unreserve(rdev->ring[idx].mqd_obj); in cik_cp_compute_resume()