/third_party/mesa3d/src/intel/vulkan/ |
D | anv_gem.c | 58 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close() argument 61 .handle = gem_handle, in anv_gem_close() 100 anv_gem_mmap_offset(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap_offset() argument 104 .handle = gem_handle, in anv_gem_mmap_offset() 122 anv_gem_mmap_legacy(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap_legacy() argument 128 .handle = gem_handle, in anv_gem_mmap_legacy() 145 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap() argument 150 map = anv_gem_mmap_offset(device, gem_handle, offset, size, flags); in anv_gem_mmap() 152 map = anv_gem_mmap_legacy(device, gem_handle, offset, size, flags); in anv_gem_mmap() 191 uint32_t gem_handle, uint32_t caching) in anv_gem_set_caching() argument [all …]
|
D | anv_gem_stubs.c | 43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close() argument 45 close(gem_handle); in anv_gem_close() 57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap() argument 64 gem_handle, offset); in anv_gem_mmap() 89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) in anv_gem_busy() argument 95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument 109 uint32_t gem_handle, uint32_t stride, uint32_t tiling) in anv_gem_set_tiling() argument 115 anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle) in anv_gem_get_tiling() argument 121 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, in anv_gem_set_caching() argument 128 anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, in anv_gem_set_domain() argument [all …]
|
D | anv_allocator.c | 1415 bo->gem_handle) == bo); in anv_bo_pool_free() 1417 &bo->gem_handle, 1); in anv_bo_pool_free() 1620 assert(bo->gem_handle != 0); in anv_bo_finish() 1621 anv_gem_close(device, bo->gem_handle); in anv_bo_finish() 1694 uint32_t gem_handle; in anv_device_alloc_bo() local 1718 gem_handle = anv_gem_create_regions(device, size + ccs_size, in anv_device_alloc_bo() 1721 gem_handle = anv_gem_create(device, size + ccs_size); in anv_device_alloc_bo() 1724 if (gem_handle == 0) in anv_device_alloc_bo() 1729 .gem_handle = gem_handle, in anv_device_alloc_bo() 1746 anv_gem_close(device, new_bo.gem_handle); in anv_device_alloc_bo() [all …]
|
D | anv_private.h | 475 uint32_t gem_handle; member 1422 anv_device_lookup_bo(struct anv_device *device, uint32_t gem_handle) in anv_device_lookup_bo() argument 1424 return util_sparse_array_get(&device->bo_cache.bo_map, gem_handle); in anv_device_lookup_bo() 1442 uint32_t gem_handle, uint64_t offset, uint64_t size, uint32_t flags); 1445 void anv_gem_close(struct anv_device *device, uint32_t gem_handle); 1450 int anv_gem_busy(struct anv_device *device, uint32_t gem_handle); 1451 int anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns); 1454 int anv_gem_set_tiling(struct anv_device *device, uint32_t gem_handle, 1462 int anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle); 1465 int anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle); [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_bufmgr.c | 130 uint32_t gem_handle; member 259 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in crocus_bo_busy() 273 .handle = bo->gem_handle, in crocus_bo_madvise() 362 bo->gem_handle = create.handle; in alloc_fresh_bo() 375 .handle = bo->gem_handle, in alloc_fresh_bo() 437 .handle = bo->gem_handle, in bo_alloc_internal() 446 DBG("bo_create: buf %d (%s) %llub\n", bo->gem_handle, in bo_alloc_internal() 490 bo->gem_handle = arg.handle; in crocus_bo_create_userptr() 494 .handle = bo->gem_handle, in crocus_bo_create_userptr() 516 intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &bo->gem_handle); in crocus_bo_create_userptr() [all …]
|
D | crocus_batch.c | 110 batch->exec_bos[i]->gem_handle); in dump_validation_list() 363 .handle = bo->gem_handle, in crocus_use_bo() 678 batch->validation_list[bo->index].handle = new_bo->gem_handle; in crocus_grow_buffer() 861 assert(entry->handle == batch->state.bo->gem_handle); in submit_batch() 868 assert(entry->handle == batch->command.bo->gem_handle); in submit_batch() 906 bo->gem_handle, bo->gtt_offset, in submit_batch()
|
D | crocus_bufmgr.h | 56 uint32_t gem_handle; member
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_virtgpu.c | 73 uint32_t gem_handle; member 78 uint32_t gem_handle; member 526 gem_handles[i] = bo->gem_handle; in sim_submit_alloc_gem_handles() 690 uint32_t gem_handle, in virtgpu_ioctl_resource_info() argument 694 .bo_handle = gem_handle, in virtgpu_ioctl_resource_info() 701 virtgpu_ioctl_gem_close(struct virtgpu *gpu, uint32_t gem_handle) in virtgpu_ioctl_gem_close() argument 704 .handle = gem_handle, in virtgpu_ioctl_gem_close() 713 uint32_t gem_handle, in virtgpu_ioctl_prime_handle_to_fd() argument 717 .handle = gem_handle, in virtgpu_ioctl_prime_handle_to_fd() 737 virtgpu_ioctl_map(struct virtgpu *gpu, uint32_t gem_handle, size_t size) in virtgpu_ioctl_map() argument [all …]
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_bo.c | 85 bo->gem_handle = create_bo.handle; in panfrost_bo_alloc() 95 struct drm_gem_close gem_close = { .handle = bo->gem_handle }; in panfrost_bo_free() 117 .handle = bo->gem_handle, in panfrost_bo_wait() 208 .handle = entry->gem_handle, in panfrost_bo_cache_fetch() 275 madv.handle = bo->gem_handle; in panfrost_bo_cache_put() 329 struct drm_panfrost_mmap_bo mmap_bo = { .handle = bo->gem_handle }; in panfrost_bo_mmap() 470 unsigned gem_handle; in panfrost_bo_import() local 472 ret = drmPrimeFDToHandle(dev->fd, fd, &gem_handle); in panfrost_bo_import() 476 bo = pan_lookup_bo(dev, gem_handle); in panfrost_bo_import() 479 get_bo_offset.handle = gem_handle; in panfrost_bo_import() [all …]
|
D | pan_device.h | 293 pan_lookup_bo(struct panfrost_device *dev, uint32_t gem_handle) in pan_lookup_bo() argument 295 return (struct panfrost_bo *)util_sparse_array_get(&dev->bo_map, gem_handle); in pan_lookup_bo()
|
D | pan_bo.h | 106 int gem_handle; member
|
/third_party/libdrm/intel/ |
D | intel_bufmgr_gem.c | 168 uint32_t gem_handle; member 421 DBG("%2d: %d %s(%s)\n", i, bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 435 bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 440 target_gem->gem_handle, in drm_intel_gem_dump_validation_list() 454 bo_gem->gem_handle, in drm_intel_gem_dump_validation_list() 457 target_gem->gem_handle, in drm_intel_gem_dump_validation_list() 517 bufmgr_gem->exec2_objects[index].handle = bo_gem->gem_handle; in drm_intel_add_validate_buffer2() 610 busy.handle = bo_gem->gem_handle; in drm_intel_gem_bo_busy() 628 madv.handle = bo_gem->gem_handle; in drm_intel_gem_bo_madvise_internal() 773 bo_gem->gem_handle = create.handle; in drm_intel_gem_bo_alloc_internal() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 162 uint32_t gem_handle; member 443 struct drm_i915_gem_busy busy = { .handle = bo->gem_handle }; in iris_bo_busy_gem() 540 .handle = bo->gem_handle, in iris_bo_madvise() 737 bo->gem_handle = 0; in iris_slab_alloc() 1013 bo->gem_handle = create.handle; in alloc_fresh_bo() 1024 bo->gem_handle = create.handle; in alloc_fresh_bo() 1037 .handle = bo->gem_handle, in alloc_fresh_bo() 1148 .handle = bo->gem_handle, in iris_bo_alloc() 1157 DBG("bo_create: buf %d (%s) (%s memzone) (%s) %llub\n", bo->gem_handle, in iris_bo_alloc() 1189 bo->gem_handle = arg.handle; in iris_bo_create_userptr() [all …]
|
D | iris_batch.c | 115 bo->gem_handle, in dump_bo_list() 116 backing->gem_handle, in dump_bo_list() 400 MAX2(batch->max_gem_handle, iris_get_backing_bo(bo)->gem_handle); in add_bo_to_batch() 922 assert(bo->gem_handle != 0); in submit_batch() 925 unsigned prev_index = index_for_handle[bo->gem_handle]; in submit_batch() 930 index_for_handle[bo->gem_handle] = validation_count; in submit_batch() 933 .handle = bo->gem_handle, in submit_batch()
|
D | iris_bufmgr.h | 190 uint32_t gem_handle; member 392 return bo->gem_handle != 0; in iris_bo_is_real()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 172 tu_gem_close(const struct tu_device *dev, uint32_t gem_handle) in tu_gem_close() argument 175 .handle = gem_handle, in tu_gem_close() 183 tu_gem_info(const struct tu_device *dev, uint32_t gem_handle, uint32_t info) in tu_gem_info() argument 186 .handle = gem_handle, in tu_gem_info() 201 uint32_t gem_handle, in tu_bo_init() argument 205 uint64_t iova = tu_gem_info(dev, gem_handle, MSM_INFO_GET_IOVA); in tu_bo_init() 207 tu_gem_close(dev, gem_handle); in tu_bo_init() 230 .handle = gem_handle, in tu_bo_init() 235 .gem_handle = gem_handle, in tu_bo_init() 247 tu_gem_close(dev, gem_handle); in tu_bo_init() [all …]
|
D | tu_kgsl.c | 92 assert(bo && bo->gem_handle == 0); in tu_bo_init_new() 95 .gem_handle = req.id, in tu_bo_init_new() 140 assert(bo && bo->gem_handle == 0); in tu_bo_init_dmabuf() 143 .gem_handle = req.id, in tu_bo_init_dmabuf() 168 uint64_t offset = bo->gem_handle << 12; in tu_bo_map() 182 assert(bo->gem_handle); in tu_bo_finish() 191 .id = bo->gem_handle in tu_bo_finish() 430 .id = perf_cs_entry->bo->gem_handle, in tu_QueueSubmit2() 440 .id = cs->entries[k].bo->gem_handle, in tu_QueueSubmit2() 456 .id = autotune_cs->entries[0].bo->gem_handle, in tu_QueueSubmit2()
|
D | tu_drm.h | 49 uint32_t gem_handle; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_device.c | 247 … bos[bo_idx++] = batch->fb.info->attachments[i].iview->pview.image->data.bo->gem_handle; in panvk_per_arch() 252 bos[bo_idx++] = batch->blit.src->gem_handle; in panvk_per_arch() 255 bos[bo_idx++] = batch->blit.dst->gem_handle; in panvk_per_arch() 258 bos[bo_idx++] = pdev->tiler_heap->gem_handle; in panvk_per_arch() 260 bos[bo_idx++] = pdev->sample_positions->gem_handle; in panvk_per_arch()
|
D | panvk_mempool.c | 154 assert((*bo)->gem_handle > 0); in panvk_pool_get_bo_handles() 155 handles[idx++] = (*bo)->gem_handle; in panvk_pool_get_bo_handles()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_mempool.c | 107 assert((*bo)->gem_handle > 0); in panfrost_pool_get_bo_handles() 108 handles[idx++] = (*bo)->gem_handle; in panfrost_pool_get_bo_handles()
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmsallocator.c | 463 bo_handles[i] = kmsmem->gem_handle[i]; in gst_kms_allocator_add_fb() 539 &kmsmem->gem_handle[i]); in gst_kms_allocator_dmabuf_import() 548 struct drm_gem_close arg = { kmsmem->gem_handle[i], }; in gst_kms_allocator_dmabuf_import() 556 kmsmem->gem_handle[i] = 0; in gst_kms_allocator_dmabuf_import()
|
D | gstkmsallocator.h | 59 guint32 gem_handle[GST_VIDEO_MAX_PLANES]; member
|
/third_party/mesa3d/src/intel/common/tests/ |
D | mi_builder_test.cpp | 39 uint32_t gem_handle; member 97 addr.gem_handle = data_bo_handle; in in_addr() 105 addr.gem_handle = data_bo_handle; in out_addr() 361 uint64_t addr_u64 = addr.gem_handle == test->data_bo_handle ? in __gen_combine_address() 366 reloc.target_handle = addr.gem_handle == test->data_bo_handle ? 0 : 1; in __gen_combine_address() 391 .gem_handle = test->batch_bo_handle, in __gen_get_batch_address()
|
/third_party/mesa3d/src/broadcom/simulator/ |
D | v3d_simulator.c | 346 v3d_get_simulator_bo(struct v3d_simulator_file *file, int gem_handle) in v3d_get_simulator_bo() argument 348 if (gem_handle == 0) in v3d_get_simulator_bo() 353 _mesa_hash_table_search(file->bo_map, int_to_key(gem_handle)); in v3d_get_simulator_bo()
|