[Nouveau] [Bug 21273] Driver can't detect video output and xserver doesn't start

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 20 08:18:52 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=21273

Andrey Gusev <ronne at list.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64352|0                           |1
        is obsolete|                            |
  Attachment #64361|0                           |1
        is obsolete|                            |
  Attachment #64362|0                           |1
        is obsolete|                            |
  Attachment #64364|0                           |1
        is obsolete|                            |

--- Comment #73 from Andrey Gusev <ronne at list.ru> 2012-07-20 08:18:52 PDT ---
Created attachment 64417
  --> https://bugs.freedesktop.org/attachment.cgi?id=64417
Log initialization

After this patch
diff -u linux_stock/drivers/gpu/drm/nouveau/nouveau_bios.c
linux-3.4/drivers/gpu/drm/nouveau/nouveau_bios.c
--- linux_stock/drivers/gpu/drm/nouveau/nouveau_bios.c    2012-07-18
23:28:42.467787857 +0400
+++ linux-3.4/drivers/gpu/drm/nouveau/nouveau_bios.c    2012-07-20
00:05:20.048039574 +0400
@@ -6092,10 +6092,18 @@
 #ifdef __powerpc__
     /* Apple iMac G4 NV17 */
     if (of_machine_is_compatible("PowerMac4,5")) {
+        NV_INFO(dev, "Fabricate outputs for Apple iMac G4 NV17\n");
         fabricate_dcb_output(dcb, OUTPUT_TMDS, 0, all_heads, 1);
         fabricate_dcb_output(dcb, OUTPUT_ANALOG, 1, all_heads, 2);
         return;
     }
+    /* Apple PowerMac G4 NV17 */
+    if (of_machine_is_compatible("PowerMac3,6")) {
+        NV_INFO(dev, "Fabricate outputs for Apple PowerMac G4 NV17\n");
+        fabricate_dcb_output(dcb, OUTPUT_TMDS, 0, all_heads, 1);
+        fabricate_dcb_output(dcb, OUTPUT_TMDS, 1, all_heads, 2);
+        return;
+    }
 #endif

     /* Make up some sane defaults */
@@ -6485,19 +6493,23 @@
     if (!NVInitVBIOS(dev))
         return -ENODEV;

+    NV_INFO(dev, "Init BIOS");
     ret = nouveau_parse_vbios_struct(dev);
     if (ret)
         return ret;

-    ret = nouveau_i2c_init(dev);
+    NV_INFO(dev, "Init MXM");
+    ret = nouveau_mxm_init(dev);
     if (ret)
         return ret;

-    ret = nouveau_mxm_init(dev);
+    NV_INFO(dev, "Parse dcd table");
+    ret = parse_dcb_table(dev, bios);
     if (ret)
         return ret;

-    ret = parse_dcb_table(dev, bios);
+    NV_INFO(dev, "Init I2C");
+    ret = nouveau_i2c_init(dev);
     if (ret)
         return ret;

-- 
Configure bugmail: https://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