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,10 +622,11 @@ get_gpu_paths (MetaMonitorManagerKms *manager_kms,
break; break;
} }
} }
else }
{
gpu_paths = g_list_append (gpu_paths, g_strdup (device_path)); if (gpu_type == GPU_TYPE_SECONDARY)
} {
gpu_paths = g_list_append (gpu_paths, g_strdup (device_path));
} }
} }