Home
last modified time | relevance | path

Searched refs:physical_device_count (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c366 uint32_t physical_device_count, in get_default_device() argument
380 …struct device_pci_info *pci_infos = (struct device_pci_info *)calloc(physical_device_count, sizeof… in get_default_device()
384 for (unsigned i = 0; i < physical_device_count; ++i) { in get_default_device()
389 … default_idx = device_select_find_explicit_default(pci_infos, physical_device_count, selection); in get_default_device()
391 …default_idx = device_select_find_dri_prime_tag_default(pci_infos, physical_device_count, dri_prime… in get_default_device()
393 default_idx = device_select_find_wayland_pci_default(pci_infos, physical_device_count); in get_default_device()
395 default_idx = device_select_find_xcb_pci_default(pci_infos, physical_device_count); in get_default_device()
397 default_idx = device_select_find_boot_vga_default(pci_infos, physical_device_count); in get_default_device()
399 default_idx = device_select_find_non_cpu(pci_infos, physical_device_count); in get_default_device()
402 if (default_idx != -1 && dri_prime_is_one && physical_device_count > (cpu_count + 1)) { in get_default_device()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c191 instance->physical_device_count = -1; in panvk_CreateInstance()
227 for (int i = 0; i < instance->physical_device_count; ++i) { in panvk_DestroyInstance()
367 instance->physical_device_count = 0; in panvk_enumerate_devices()
382 instance->physical_device_count, in panvk_enumerate_devices()
385 ++instance->physical_device_count; in panvk_enumerate_devices()
405 if (instance->physical_device_count < 0) { in panvk_EnumeratePhysicalDevices()
411 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in panvk_EnumeratePhysicalDevices()
431 if (instance->physical_device_count < 0) { in panvk_EnumeratePhysicalDeviceGroups()
437 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in panvk_EnumeratePhysicalDeviceGroups()
Dpanvk_private.h205 int physical_device_count; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_kgsl.c220 instance->physical_device_count = 0; in tu_enumerate_devices()
257 instance->physical_device_count = 1; in tu_enumerate_devices()
Dtu_device.c365 instance->physical_device_count = -1; in tu_CreateInstance()
401 for (int i = 0; i < instance->physical_device_count; ++i) { in tu_DestroyInstance()
421 if (instance->physical_device_count < 0) { in tu_EnumeratePhysicalDevices()
427 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in tu_EnumeratePhysicalDevices()
448 if (instance->physical_device_count < 0) { in tu_EnumeratePhysicalDeviceGroups()
454 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in tu_EnumeratePhysicalDeviceGroups()
Dtu_drm.c513 instance->physical_device_count = 0; in tu_enumerate_devices()
533 instance->physical_devices + instance->physical_device_count, in tu_enumerate_devices()
536 ++instance->physical_device_count; in tu_enumerate_devices()
Dtu_private.h248 int physical_device_count; member