[Nouveau] [Bug 25938] black screen on the iMac powerpc using nouveau

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 14 06:13:11 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=25938





--- Comment #7 from Francisco Jerez <currojerez at riseup.net>  2010-01-14 06:13:11 PST ---
(In reply to comment #6)
> 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) {
> 

Thanks, pushed, but please, next time you send a patch use the mailing list,
bugzilla adds some gratuitous line breaks and I had to do it manually.


-- 
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