[PATCH v2 4/4] winex11: Report fallback default GPU vendor / device IDs.
Matteo Bruni
mbruni at codeweavers.com
Thu Oct 1 04:01:14 CDT 2020
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
dlls/winex11.drv/display.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/winex11.drv/display.c b/dlls/winex11.drv/display.c
index a2692e88ef62..acbd46775ceb 100644
--- a/dlls/winex11.drv/display.c
+++ b/dlls/winex11.drv/display.c
@@ -756,6 +756,12 @@ void X11DRV_DisplayDevices_Init(BOOL force)
for (gpu = 0; gpu < gpu_count; gpu++)
{
+ /* Default to an AMD Radeon RX 5700 */
+ if (!gpus[gpu].vendor_id)
+ gpus[gpu].vendor_id = 0x1002;
+ if (!gpus[gpu].device_id)
+ gpus[gpu].device_id = 0x731f;
+
if (!X11DRV_InitGpu(gpu_devinfo, &gpus[gpu], gpu, guidW, driverW, &gpu_luid))
goto done;
--
2.26.2
More information about the wine-devel
mailing list