Searched refs:bo_gem (Results 1 – 2 of 2) sorted by relevance
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 419 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; in drm_intel_gem_dump_validation_list() local 421 if (bo_gem->relocs == NULL && bo_gem->softpin_target == NULL) { in drm_intel_gem_dump_validation_list() 422 DBG("%2d: %d %s(%s)\n", i, bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 423 bo_gem->kflags & EXEC_OBJECT_PINNED ? "*" : "", in drm_intel_gem_dump_validation_list() 424 bo_gem->name); in drm_intel_gem_dump_validation_list() 428 for (j = 0; j < bo_gem->reloc_count; j++) { in drm_intel_gem_dump_validation_list() 429 drm_intel_bo *target_bo = bo_gem->reloc_target_info[j].bo; in drm_intel_gem_dump_validation_list() 436 bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 437 bo_gem->kflags & EXEC_OBJECT_PINNED ? "*" : "", in drm_intel_gem_dump_validation_list() 438 bo_gem->name, in drm_intel_gem_dump_validation_list() [all …]
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 127 struct radeon_bo_gem *bo_gem = (struct radeon_bo_gem*)boi; in bo_unref() local 133 if (bo_gem->priv_ptr) { in bo_unref() 134 drm_munmap(bo_gem->priv_ptr, boi->size); in bo_unref() 143 memset(bo_gem, 0, sizeof(struct radeon_bo_gem)); in bo_unref() 144 free(bo_gem); in bo_unref() 150 struct radeon_bo_gem *bo_gem = (struct radeon_bo_gem*)boi; in bo_map() local 155 if (bo_gem->map_count++ != 0) { in bo_map() 158 if (bo_gem->priv_ptr) { in bo_map() 181 bo_gem->priv_ptr = ptr; in bo_map() 183 boi->ptr = bo_gem->priv_ptr; in bo_map() [all …]
|