Home | History | Annotate | Download | only in radeon

Lines Matching defs:bo

176                               struct radeon_bo *bo,
181 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo;
191 /* in one CS a bo can only be in read or write domain but not
203 if this bo is for sure not in this cs.*/
204 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) {
205 /* check if bo is already referenced.
207 * it often relocates same shared dma bo again. */
212 if (reloc->handle == bo->handle) {
265 reloc->handle = bo->handle;
270 radeon_bo_ref(bo);
271 /* bo might be referenced from another context so have to use atomic operations */
272 atomic_add((atomic_t *)radeon_gem_get_reloc_in_cs(bo), cs->id);
344 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root;
349 root = device_id = bcs = blob = array = bo = size = handle = NULL;
376 /* dump bo */
381 bo = bof_object();
382 if (bo == NULL)
387 if (bof_object_set(bo, "size", size))
394 if (bof_object_set(bo, "handle", handle))
403 if (bof_object_set(bo, "data", blob))
407 if (bof_array_append(array, bo))
409 bof_decref(bo);
410 bo = NULL;
412 if (bof_object_set(root, "bo", array))
419 bof_decref(bo);
452 /* bo might be referenced from another context so have to use atomic operations */
484 /* bo might be referenced from another context so have to use atomic operations */