Skip to contentSkip to conversation

drm/nouveau: Gigabyte NX86T connector table lies

PATCH New Emil Velikov 1 participant 3 messages Jul 10, 2011 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: Gigabyte NX86T connector table lies

The current patch fixes yet another Gigabyte vbios It used to work with the 2.6.33 kernel thus it can be considered a regression
Should apply cleanly agains nouveau/master

NOTE: This is a candidate for the 3.0 kernel

A message that is not in the archive (sent off-list or not yet received): 1310291474-27279-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 1/1 drm/nouveau: Gigabyte NX86T connector table lies, it has DVI-I not HDMI

---
 drivers/gpu/drm/nouveau/nouveau_bios.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +6 -0
index aefc5cb..58d8c85 100644
@@ -6006,6 +6006,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] = {
Signature · 1 line
1.7.6

A message that is not in the archive (sent off-list or not yet received): 1310291474-27279-2-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#4 lore raw

PATCH 1/1 drm/nouveau: Add a quirk for Gigabyte NX86T

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

---
 drivers/gpu/drm/nouveau/nouveau_bios.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bios.c +6 -0
index aefc5cb..58d8c85 100644
@@ -6006,6 +6006,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] = {
Signature · 1 line
1.7.6