monitor-manager/kms: Use non-pci secondary cards

We may have secondary non-PCI devices, and we should drive their
outputs.
This commit is contained in:
Emilio Pozuelo Monfort 2018-09-17 13:02:59 +02:00
parent 081842bac6
commit a6178990cd

View File

@ -622,12 +622,13 @@ get_gpu_paths (MetaMonitorManagerKms *manager_kms,
break; break;
} }
} }
else }
if (gpu_type == GPU_TYPE_SECONDARY)
{ {
gpu_paths = g_list_append (gpu_paths, g_strdup (device_path)); gpu_paths = g_list_append (gpu_paths, g_strdup (device_path));
} }
} }
}
g_list_free_full (devices, g_object_unref); g_list_free_full (devices, g_object_unref);