aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson2017-05-04 14:57:14 -0500
committerAdam Jackson2017-05-04 14:57:14 -0500
commita2fa2e08692483cf9f4d06caa6e0f0add59e3343 (patch)
tree42fd60e7e3d2e2f0bad0c5a53cfce46b92153cdb /xf86drm.c
parent7040fea0280bad527ed4b3d5eee7d7bfbf303efc (diff)
downloadexternal-libgbm-a2fa2e08692483cf9f4d06caa6e0f0add59e3343.tar.gz
external-libgbm-a2fa2e08692483cf9f4d06caa6e0f0add59e3343.tar.xz
external-libgbm-a2fa2e08692483cf9f4d06caa6e0f0add59e3343.zip
Fix stray caller of drmCompareDevices
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 29fea331..728ac78c 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3669,7 +3669,7 @@ static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count)
3669 3669
3670 for (i = 0; i < count; i++) { 3670 for (i = 0; i < count; i++) {
3671 for (j = i + 1; j < count; j++) { 3671 for (j = i + 1; j < count; j++) {
3672 if (drmCompareDevices(local_devices[i], local_devices[j])) { 3672 if (drmDevicesEqual(local_devices[i], local_devices[j])) {
3673 local_devices[i]->available_nodes |= local_devices[j]->available_nodes; 3673 local_devices[i]->available_nodes |= local_devices[j]->available_nodes;
3674 node_type = log2(local_devices[j]->available_nodes); 3674 node_type = log2(local_devices[j]->available_nodes);
3675 memcpy(local_devices[i]->nodes[node_type], 3675 memcpy(local_devices[i]->nodes[node_type],