Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/dev/
Dgen_device_info.c1377 const char *devid_override = getenv("INTEL_DEVID_OVERRIDE"); in gen_get_device_info_from_fd() local
1378 if (devid_override && strlen(devid_override) > 0) { in gen_get_device_info_from_fd()
1380 devid = gen_device_name_to_pci_device_id(devid_override); in gen_get_device_info_from_fd()
1383 devid = strtol(devid_override, NULL, 0); in gen_get_device_info_from_fd()
1387 "platform names: %s", devid_override, name_map[0].name); in gen_get_device_info_from_fd()
1395 "real and effective user ID don't match.\n", devid_override); in gen_get_device_info_from_fd()
/external/libdrm/intel/
Dintel_bufmgr_gem.c3059 parse_devid_override(const char *devid_override) in parse_devid_override() argument
3079 if (!strcmp(name_map[i].name, devid_override)) in parse_devid_override()
3083 return strtod(devid_override, NULL); in parse_devid_override()
3093 char *devid_override; in get_pci_device_id() local
3099 devid_override = getenv("INTEL_DEVID_OVERRIDE"); in get_pci_device_id()
3100 if (devid_override) { in get_pci_device_id()
3102 return parse_devid_override(devid_override); in get_pci_device_id()