Home
last modified time | relevance | path

Searched refs:bo_gem (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/intel/
Dintel_bufmgr_gem.c388 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; in drm_intel_gem_dump_validation_list() local
390 if (bo_gem->relocs == NULL) { in drm_intel_gem_dump_validation_list()
391 DBG("%2d: %d (%s)\n", i, bo_gem->gem_handle, in drm_intel_gem_dump_validation_list()
392 bo_gem->name); in drm_intel_gem_dump_validation_list()
396 for (j = 0; j < bo_gem->reloc_count; j++) { in drm_intel_gem_dump_validation_list()
397 drm_intel_bo *target_bo = bo_gem->reloc_target_info[j].bo; in drm_intel_gem_dump_validation_list()
404 bo_gem->gem_handle, bo_gem->name, in drm_intel_gem_dump_validation_list()
405 (unsigned long long)bo_gem->relocs[j].offset, in drm_intel_gem_dump_validation_list()
409 bo_gem->relocs[j].delta); in drm_intel_gem_dump_validation_list()
417 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; in drm_intel_gem_bo_reference() local
[all …]
/external/libdrm/radeon/
Dradeon_bo_gem.c130 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 …]