Searched refs:local_devices (Results 1 – 1 of 1) sorted by relevance
4459 static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count) in drmFoldDuplicatedDevices() argument4465 if (drmDevicesEqual(local_devices[i], local_devices[j])) { in drmFoldDuplicatedDevices()4466 local_devices[i]->available_nodes |= local_devices[j]->available_nodes; in drmFoldDuplicatedDevices()4467 node_type = log2_int(local_devices[j]->available_nodes); in drmFoldDuplicatedDevices()4468 memcpy(local_devices[i]->nodes[node_type], in drmFoldDuplicatedDevices()4469 local_devices[j]->nodes[node_type], drmGetMaxNodeName()); in drmFoldDuplicatedDevices()4470 drmFreeDevice(&local_devices[j]); in drmFoldDuplicatedDevices()4564 drmDevicePtr local_devices[MAX_DRM_NODES]; in drmGetDeviceFromDevId()4604 local_devices[i] = d; in drmGetDeviceFromDevId()4609 drmFoldDuplicatedDevices(local_devices, node_count); in drmGetDeviceFromDevId()[all …]