Searched refs:dri_prime (Results 1 – 2 of 2) sorted by relevance
286 const char *dri_prime) in device_select_find_dri_prime_tag_default() argument296 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() local366 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()
303 const char *dri_prime = getenv("DRI_PRIME"); in loader_get_user_preferred_fd() local308 if (dri_prime) in loader_get_user_preferred_fd()309 prime = strdup(dri_prime); in loader_get_user_preferred_fd()