Hello.<br>I had some trouble building nouveau drm for linux-2.6.35-rc1.<br>I investigated a bit why it failed and noticed that the fb_info-structure had changed slightly.<br><br>Since I do not have any previous knowledge of how the driver works, I&#39;m not certain if this is a proper fix, but it seems to work.<br>
I&#39;m curious if there&#39;s a better solution, or if my solution breaks in all other cases.<br><pre>diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c<br>index 8e7dc1d..3943a00 100644<br>
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c<br>+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c<br>@@ -317,6 +317,9 @@ nouveau_fbcon_create(struct drm_device *dev, uint32_t fb_width,<br>         info-&gt;fix.mmio_len = pci_resource_len(dev-&gt;pdev, 1);<br>
 <br>         /* Set aperture base/size for vesafb takeover */<br>+<br>+    info-&gt;apertures = alloc_apertures(1);<br>+<br> #if defined(__i386__) || defined(__x86_64__)<br>         if (nouveau_fbcon_has_vesafb_or_efifb(dev)) {<br>                 /* Some NVIDIA VBIOS&#39; are stupid and decide to put the<br>
@@ -326,15 +329,15 @@ nouveau_fbcon_create(struct drm_device *dev, uint32_t fb_width,<br>                  * we have left is to find out lfb_base the same way<br>                  * vesafb did.<br>                  */<br>-                info-&gt;aperture_base = screen_info.lfb_base;<br>
-                info-&gt;aperture_size = screen_info.lfb_size;<br>+                info-&gt;apertures-&gt;ranges-&gt;base = screen_info.lfb_base;<br>+                info-&gt;apertures-&gt;ranges-&gt;size = screen_info.lfb_size;<br>                 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB)<br>
-                        info-&gt;aperture_size *= 65536;<br>+                        info-&gt;apertures-&gt;ranges-&gt;size *= 65536;<br>         } else<br> #endif<br>         {<br>-                info-&gt;aperture_base = info-&gt;fix.mmio_start;<br>-                info-&gt;aperture_size = info-&gt;fix.mmio_len;<br>
+                info-&gt;apertures-&gt;ranges-&gt;base = info-&gt;fix.mmio_start;<br>+                info-&gt;apertures-&gt;ranges-&gt;size = info-&gt;fix.mmio_len;<br>         }<br> <br>         info-&gt;pixmap.size = 64*1024;<br></pre><br>