Home
last modified time | relevance | path

Searched refs:physical_devices (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_instance.c194 list_inithead(&instance->physical_devices.list); in vk_instance_init()
196 if (mtx_init(&instance->physical_devices.mutex, mtx_plain) != 0) { in vk_instance_init()
217 &instance->physical_devices.list, link) { in destroy_physical_devices()
219 instance->physical_devices.destroy(pdevice); in destroy_physical_devices()
251 mtx_destroy(&instance->physical_devices.mutex); in vk_instance_finish()
398 result = instance->physical_devices.try_create_for_drm(instance, devices[i], &pdevice); in enumerate_drm_physical_devices_locked()
410 list_addtail(&pdevice->link, &instance->physical_devices.list); in enumerate_drm_physical_devices_locked()
420 if (instance->physical_devices.enumerate) { in enumerate_physical_devices_locked()
421 VkResult result = instance->physical_devices.enumerate(instance); in enumerate_physical_devices_locked()
428 if (instance->physical_devices.try_create_for_drm) { in enumerate_physical_devices_locked()
[all …]
Dvk_instance.h169 } physical_devices; member
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedLogicalRequestState.cpp39 PhysicalDeviceMapPtr physical_devices) { in Initialize() argument
40 if ((physical_devices.get() != nullptr) && (!physical_devices->empty())) { in Initialize()
42 device_info->static_metadata_.get(), physical_devices.get()); in Initialize()
44 physical_device_map_ = std::move(physical_devices); in Initialize()
223 PhysicalDeviceMapPtr physical_devices) { in AdaptLogicalCharacteristics() argument
224 if ((logical_chars.get() == nullptr) || (physical_devices.get() == nullptr)) { in AdaptLogicalCharacteristics()
238 physical_devices.get()); in AdaptLogicalCharacteristics()
241 for (const auto& physical_device : *physical_devices) { in AdaptLogicalCharacteristics()
263 int32_t default_physical_id = physical_devices->begin()->first; in AdaptLogicalCharacteristics()
367 const PhysicalDeviceMap* physical_devices) { in GetZoomRatioPhysicalCameraInfo() argument
[all …]
DEmulatedCameraDeviceHWLImpl.cpp31 PhysicalDeviceMapPtr physical_devices, in Create() argument
35 std::move(physical_devices), in Create()
58 PhysicalDeviceMapPtr physical_devices, in EmulatedCameraDeviceHwlImpl() argument
62 physical_device_map_(std::move(physical_devices)), in EmulatedCameraDeviceHwlImpl()
DEmulatedLogicalRequestState.h81 PhysicalDeviceMapPtr physical_devices);
106 const PhysicalDeviceMap* physical_devices);
DEmulatedCameraDeviceHWLImpl.h47 PhysicalDeviceMapPtr physical_devices,
94 PhysicalDeviceMapPtr physical_devices,
DEmulatedCameraDeviceSessionHWLImpl.h83 PhysicalDeviceMapPtr physical_devices,
194 PhysicalDeviceMapPtr physical_devices, in EmulatedCameraDeviceSessionHwlImpl() argument
197 physical_device_map_(std::move(physical_devices)) { in EmulatedCameraDeviceSessionHwlImpl()
DEmulatedCameraProviderHWLImpl.cpp797 auto physical_devices = std::make_unique<PhysicalDeviceMap>(); in Initialize() local
799 physical_devices->emplace( in Initialize()
807 std::move(physical_devices)); in Initialize()
931 auto physical_devices = std::make_unique<PhysicalDeviceMap>(); in CreateCameraDeviceHwl() local
933 physical_devices->emplace( in CreateCameraDeviceHwl()
938 camera_id, std::move(meta), std::move(physical_devices), torch_state); in CreateCameraDeviceHwl()
DEmulatedRequestProcessor.h82 PhysicalDeviceMapPtr physical_devices);
DEmulatedCameraDeviceSessionHWLImpl.cpp80 PhysicalDeviceMapPtr physical_devices, in Create() argument
88 new EmulatedCameraDeviceSessionHwlImpl(std::move(physical_devices), in Create()
DEmulatedRequestProcessor.cpp549 PhysicalDeviceMapPtr physical_devices) { in Initialize() argument
552 std::move(physical_devices)); in Initialize()
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/
Ddevice_select_layer.c518 …VkPhysicalDevice *physical_devices = (VkPhysicalDevice*)calloc(sizeof(VkPhysicalDevice), physical… in device_select_EnumeratePhysicalDevices() local
522 if (!physical_devices || !selected_physical_devices) { in device_select_EnumeratePhysicalDevices()
527 result = info->EnumeratePhysicalDevices(instance, &physical_device_count, physical_devices); in device_select_EnumeratePhysicalDevices()
533 info->EnumerateDeviceExtensionProperties(physical_devices[i], NULL, &count, NULL); in device_select_EnumeratePhysicalDevices()
536 …if (info->EnumerateDeviceExtensionProperties(physical_devices[i], NULL, &count, extensions) == VK_… in device_select_EnumeratePhysicalDevices()
548 print_gpu(info, i, physical_devices[i]); in device_select_EnumeratePhysicalDevices()
554 …gned selected_index = get_default_device(info, selection, physical_device_count, physical_devices); in device_select_EnumeratePhysicalDevices()
556 selected_physical_devices[0] = physical_devices[selected_index]; in device_select_EnumeratePhysicalDevices()
559 selected_physical_devices[i + 1] = physical_devices[this_idx]; in device_select_EnumeratePhysicalDevices()
580 free(physical_devices); in device_select_EnumeratePhysicalDevices()
/hardware/google/gfxstream/common/detector/
DGraphicsDetector.proto72 repeated VulkanPhysicalDevice physical_devices = 2; field
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp245 &gfxstream_instance->vk.physical_devices.list); in gfxstream_vk_enumerate_devices()
357 instance->vk.physical_devices.enumerate = gfxstream_vk_enumerate_devices; in gfxstream_vk_CreateInstance()
358 instance->vk.physical_devices.destroy = gfxstream_vk_destroy_physical_device; in gfxstream_vk_CreateInstance()