[Nouveau] [Bug 25938] black screen on the iMac powerpc using nouveau
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 14 01:51:42 PST 2010
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #6 from Andrea Tacconi <tacconet at libero.it> 2010-01-14 01:51:42 PST ---
From: Andrea Tacconi <tacconet at libero.it>
Subject: [PATCH] drm/nouveau: add NV18 device id to
call_lvds_manufacturer_script
This fixes imac black screen (NV18 card)
Signed-off-by: Andrea Tacconi <tacconet at libero.it>
---
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c
b/drivers/gpu/drm/nouveau/nouveau_bios.c
index ba14397..e24f2a8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -3196,7 +3196,7 @@ static int call_lvds_manufacturer_script(struct
drm_device *dev, struct dcb_entr
}
#ifdef __powerpc__
/* Powerbook specific quirks */
- if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
(dev->pci_device & 0xffff) == 0x0329))
+ if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
(dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72);
if ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff)
== 0x0189 || (dev->pci_device & 0xffff) == 0x0329) {
if (script == LVDS_PANEL_ON) {
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Nouveau
mailing list