drm/nouveau: Add a quirk for Gigabyte NX86T
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 10 Jul 2011 09:59:29 +0000 (10:59 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 24 Jul 2011 23:41:29 +0000 (09:41 +1000)
The connector table lies, the card has DVI-I not HDMI
Fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=35675

v2: Mention the bugreport
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index 1aa73d3957e14b0cae406d6f86ab213994491532..b311faba34f8450916de4f732d3f5ba48fe28bd2 100644 (file)
@@ -5966,6 +5966,12 @@ apply_dcb_connector_quirks(struct nvbios *bios, int idx)
                if (cte->type == DCB_CONNECTOR_HDMI_1)
                        cte->type = DCB_CONNECTOR_DVI_I;
        }
+
+       /* Gigabyte GV-NX86T512H */
+       if (nv_match_device(dev, 0x0402, 0x1458, 0x3455)) {
+               if (cte->type == DCB_CONNECTOR_HDMI_1)
+                       cte->type = DCB_CONNECTOR_DVI_I;
+       }
 }
 
 static const u8 hpd_gpio[16] = {