[PATCH v6 2/7] winex11.drv: Initialize GPU registry data.
Huw Davies
huw at codeweavers.com
Wed May 22 06:49:17 CDT 2019
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.
More information about the wine-devel
mailing list