Home
last modified time | relevance | path

Searched refs:dri_prime (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c286 const char *dri_prime) in device_select_find_dri_prime_tag_default() argument
296 if (strcmp(dri_prime, tag)) in device_select_find_dri_prime_tag_default()
363 const char *dri_prime = getenv("DRI_PRIME"); in get_default_device() local
366 if (dri_prime && !strcmp(dri_prime, "1")) in get_default_device()
369 if (dri_prime && !dri_prime_is_one && !info->has_pci_bus) { in get_default_device()
383 if (default_idx == -1 && info->has_pci_bus && dri_prime && !dri_prime_is_one) in get_default_device()
384 …efault_idx = device_select_find_dri_prime_tag_default(pci_infos, physical_device_count, dri_prime); in get_default_device()
/external/mesa3d/src/loader/
Dloader.c303 const char *dri_prime = getenv("DRI_PRIME"); in loader_get_user_preferred_fd() local
308 if (dri_prime) in loader_get_user_preferred_fd()
309 prime = strdup(dri_prime); in loader_get_user_preferred_fd()