22 May
2019
22 May
'19
11:49 a.m.
On Wed, May 22, 2019 at 05:16:43PM +0800, Zhiyi Zhang wrote:
@@ -66,9 +215,32 @@ void X11DRV_DisplayDevices_Init(void) goto fail; }
+ /* FIXME: + * Currently SetupDiGetClassDevsW with DIGCF_PRESENT is unsupported, So we need to clean up not present devices in + * case application use SetupDiGetClassDevsW to enumerate devices. Wrong devices could exist in registry as a result + * of prefix copying or having devices unplugged. But then we couldn't simply delete GPUs because we need to retain + * the same GUID for the same GPU. */
Would things be easier if DIGCF_PRESENT was supported? If so, should we implement it first? Huw.