mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 05:28:03 +02:00
Fix stray caller of drmCompareDevices
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
7040fea028
commit
a2fa2e0869
1 changed files with 1 additions and 1 deletions
|
|
@ -3669,7 +3669,7 @@ static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count)
|
|||
|
||||
for (i = 0; i < count; i++) {
|
||||
for (j = i + 1; j < count; j++) {
|
||||
if (drmCompareDevices(local_devices[i], local_devices[j])) {
|
||||
if (drmDevicesEqual(local_devices[i], local_devices[j])) {
|
||||
local_devices[i]->available_nodes |= local_devices[j]->available_nodes;
|
||||
node_type = log2(local_devices[j]->available_nodes);
|
||||
memcpy(local_devices[i]->nodes[node_type],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue