[Openchrome-devel] Status as of Nov 14,2011

James Simmons jsimmons
Mon Nov 14 09:27:40 PST 2011


Hello.

	Its time for another status. I'm trying to get into a habit 
of reporting progress every week. Just a heads up I will be on vaction for 
the week of Nov 21 so I wouldn't be avaliable online. Of course being on 
vaction does not mean I will be neglecting writing code for this project. 
In fact I'm hoping to have a bunch of goods when I get back. So what was 
worked on for this past week.

* Test Daniel Vetters drm cleanup patches for the old via drm driver. Did 
  not have good results, xorg locked up with our kms_branch. I will need 
  to track the problems down.

* Cleanup for the LVDS code in the xorg driver. This code is not checked 
  in but you can applied it to the kms_branch. The patch is at

  http://www.infradead.org/~jsimmons/lvds-xorg.diff

  Please try it out. Anyone out there who has CLE266 or a KM400 machine 
  with a LVDS please let me known if it works. I don't have this hardware 
  but I really like to get to the point of removing the legacy mode 
  setting code.

* Split out the XAA code form EXA code. By default only the OLPC uses the 
  XAA code due to a regression introduced by r840. This bug is present in 
  trunk as well but since trunk uses XAA by default it doesn't show up. 
  See ticket http://www.openchrome.org/trac/ticket/418 for more info if 
  interested.

* Early code for buffer management so we can allocate buffers with and 
  without TTM api. Needs alot more love.

* The xorg driver has hit the issue of having more than 256MB of VRAM with 
  the pci bug. This will cause the xorg server to fail. Ticket

  http://www.openchrome.org/trac/ticket/417

  follows this bug. I attempted a port of that patch to the kms_branch but 
  the VX900 laptop I had did not like it. I have developed a new patch bug 
  but haven't tested it yet. If you have such a device please try the 
  patch below it see if it resolves the problem. Also other testers on the 
  kms_branch please try it out to see if you have any regressions.

Index: src/via_ums.c
===================================================================
--- src/via_ums.c	(revision 1029)
+++ src/via_ums.c	(working copy)
@@ -414,6 +414,15 @@
             }
     }
 
+    /*
+     * PCI BAR are limited to 256 MB.
+     */
+    if (pVia->videoRam > (256 << 10)) {
+        xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
+                    "Cannot use more than 256 MB of VRAM.\n");
+                    pVia->videoRam = (256 << 10);
+    }
+
     if (from == X_PROBED) {
         xf86DrvMsg(pScrn->scrnIndex, from,
                    "Probed amount of VideoRAM = %d kB\n", pScrn->videoRam);




More information about the Openchrome-devel mailing list