Searched refs:physical_device_count (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/vulkan/device-select-layer/ |
D | device_select_layer.c | 366 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/ |
D | panvk_device.c | 191 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()
|
D | panvk_private.h | 205 int physical_device_count; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_kgsl.c | 220 instance->physical_device_count = 0; in tu_enumerate_devices() 257 instance->physical_device_count = 1; in tu_enumerate_devices()
|
D | tu_device.c | 365 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()
|
D | tu_drm.c | 513 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()
|
D | tu_private.h | 248 int physical_device_count; member
|