Lines Matching defs:memory
204 * greater than it. To workaround this, we compute the total available memory size (GTT +
2690 /* For all memory heaps, the computation of budget is as follow:
2694 * currently allocated device memory.
3116 .memory = mem,
4780 if (bind->pBinds[i].memory != VK_NULL_HANDLE)
4781 mem = radv_device_memory_from_handle(bind->pBinds[i].memory);
4803 if (bind->pBinds[i].memory != VK_NULL_HANDLE)
4804 mem = radv_device_memory_from_handle(bind->pBinds[i].memory);
4841 if (bind->pBinds[i].memory != VK_NULL_HANDLE)
4842 mem = radv_device_memory_from_handle(bind->pBinds[i].memory);
5274 * an out of memory issue, it might be hard to recover from
5373 radv_get_memory_fd(struct radv_device *device, struct radv_device_memory *memory, int *pFD)
5376 if (memory->image && memory->image->bindings[0].offset == 0) {
5378 radv_init_metadata(device, memory->image, &metadata);
5379 device->ws->buffer_set_metadata(device->ws, memory->bo, &metadata);
5382 return device->ws->buffer_get_fd(device->ws, memory->bo, pFD);
5478 * allocate GTT memory in supported hardware where GTT can be directly scanout.
5480 * only for memory allocated by driver this flag is set.
5832 radv_GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory,
5845 RADV_FROM_HANDLE(radv_device_memory, mem, pBindInfos[i].memory);
5861 "Device memory object too small for the buffer.\n");
5878 RADV_FROM_HANDLE(radv_device_memory, mem, pBindInfos[i].memory);
5894 "Device memory object too small for the image.\n");
6134 RADV_FROM_HANDLE(radv_device_memory, mem, pInfo->memory);
7079 RADV_FROM_HANDLE(radv_device_memory, memory, pGetFdInfo->memory);
7087 bool ret = radv_get_memory_fd(device, memory, pFD);
7136 /* Avoid 32-bit memory types for shared memory. */