Lines Matching refs:clear_state_obj
4128 if (rdev->rlc.clear_state_obj) { in sumo_rlc_fini()
4129 r = radeon_bo_reserve(rdev->rlc.clear_state_obj, false); in sumo_rlc_fini()
4132 radeon_bo_unpin(rdev->rlc.clear_state_obj); in sumo_rlc_fini()
4133 radeon_bo_unreserve(rdev->rlc.clear_state_obj); in sumo_rlc_fini()
4135 radeon_bo_unref(&rdev->rlc.clear_state_obj); in sumo_rlc_fini()
4136 rdev->rlc.clear_state_obj = NULL; in sumo_rlc_fini()
4252 if (rdev->rlc.clear_state_obj == NULL) { in sumo_rlc_init()
4255 NULL, &rdev->rlc.clear_state_obj); in sumo_rlc_init()
4262 r = radeon_bo_reserve(rdev->rlc.clear_state_obj, false); in sumo_rlc_init()
4267 r = radeon_bo_pin(rdev->rlc.clear_state_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init()
4270 radeon_bo_unreserve(rdev->rlc.clear_state_obj); in sumo_rlc_init()
4276 r = radeon_bo_kmap(rdev->rlc.clear_state_obj, (void **)&rdev->rlc.cs_ptr); in sumo_rlc_init()
4323 radeon_bo_kunmap(rdev->rlc.clear_state_obj); in sumo_rlc_init()
4324 radeon_bo_unreserve(rdev->rlc.clear_state_obj); in sumo_rlc_init()