diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 7b7a184..229de24 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -5948,6 +5948,13 @@ apply_dcb_connector_quirks(struct nvbios *bios, int idx) if (cte->type == DCB_CONNECTOR_HDMI_1) cte->type = DCB_CONNECTOR_DVI_I; } + /* XFX GT-240X-YA */ + if (nv_match_device(dev, 0x0ca3, 0x1682, 0x3003)) { + if (cte->type == DCB_CONNECTOR_DVI_I) + cte->type = DCB_CONNECTOR_VGA; + if (cte->type == DCB_CONNECTOR_VGA) + cte->type = DCB_CONNECTOR_DVI_I; + } } static void