Lines Matching defs:idx
189 uint32_t idx = target_bo->gem_handle;
191 (idx / BITSET_WORDBITS) + 1);
195 BITSET_SET(list->deps, idx);
1881 uint32_t idx = first_batch_bo->bo->exec_obj_index;
1884 struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx];
1885 assert(execbuf->bos[idx] == first_batch_bo->bo);
1887 execbuf->objects[idx] = execbuf->objects[last_idx];
1888 execbuf->bos[idx] = execbuf->bos[last_idx];
1889 execbuf->bos[idx]->exec_obj_index = idx;
1986 uint32_t idx = flush->batch_bo->exec_obj_index;
1989 struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx];
1990 assert(execbuf->bos[idx] == flush->batch_bo);
1992 execbuf->objects[idx] = execbuf->objects[last_idx];
1993 execbuf->bos[idx] = execbuf->bos[last_idx];
1994 execbuf->bos[idx]->exec_obj_index = idx;