Lines Matching refs:bos
126 ret = radeon_cs_setup_bo(&cs->bos[i], &sizes); in radeon_cs_do_space_check()
156 bo = cs->bos[i].bo; in radeon_cs_do_space_check()
157 bo->space_accounted = cs->bos[i].new_accounted; in radeon_cs_do_space_check()
173 if (csi->bos[i].bo == boi && in radeon_cs_space_add_persistent_bo()
174 csi->bos[i].read_domains == read_domains && in radeon_cs_space_add_persistent_bo()
175 csi->bos[i].write_domain == write_domain) in radeon_cs_space_add_persistent_bo()
180 csi->bos[i].bo = boi; in radeon_cs_space_add_persistent_bo()
181 csi->bos[i].read_domains = read_domains; in radeon_cs_space_add_persistent_bo()
182 csi->bos[i].write_domain = write_domain; in radeon_cs_space_add_persistent_bo()
183 csi->bos[i].new_accounted = 0; in radeon_cs_space_add_persistent_bo()
241 radeon_bo_unref((struct radeon_bo *)csi->bos[i].bo); in radeon_cs_space_reset_bos()
242 csi->bos[i].bo = NULL; in radeon_cs_space_reset_bos()
243 csi->bos[i].read_domains = 0; in radeon_cs_space_reset_bos()
244 csi->bos[i].write_domain = 0; in radeon_cs_space_reset_bos()
245 csi->bos[i].new_accounted = 0; in radeon_cs_space_reset_bos()