Searched refs:bo_gem (Results 1 – 2 of 2) sorted by relevance
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 427 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; in drm_intel_gem_dump_validation_list() local 429 if (bo_gem->relocs == NULL && bo_gem->softpin_target == NULL) { in drm_intel_gem_dump_validation_list() 430 DBG("%2d: %d %s(%s)\n", i, bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 431 bo_gem->is_softpin ? "*" : "", in drm_intel_gem_dump_validation_list() 432 bo_gem->name); in drm_intel_gem_dump_validation_list() 436 for (j = 0; j < bo_gem->reloc_count; j++) { in drm_intel_gem_dump_validation_list() 437 drm_intel_bo *target_bo = bo_gem->reloc_target_info[j].bo; in drm_intel_gem_dump_validation_list() 444 bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 445 bo_gem->is_softpin ? "*" : "", in drm_intel_gem_dump_validation_list() 446 bo_gem->name, in drm_intel_gem_dump_validation_list() [all …]
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 130 struct radeon_bo_gem *bo_gem = (struct radeon_bo_gem*)boi; in bo_unref() local 136 if (bo_gem->priv_ptr) { in bo_unref() 137 drm_munmap(bo_gem->priv_ptr, boi->size); in bo_unref() 146 memset(bo_gem, 0, sizeof(struct radeon_bo_gem)); in bo_unref() 147 free(bo_gem); in bo_unref() 153 struct radeon_bo_gem *bo_gem = (struct radeon_bo_gem*)boi; in bo_map() local 158 if (bo_gem->map_count++ != 0) { in bo_map() 161 if (bo_gem->priv_ptr) { in bo_map() 184 bo_gem->priv_ptr = ptr; in bo_map() 186 boi->ptr = bo_gem->priv_ptr; in bo_map() [all …]
|