[openfirmware] r1079 - dev/geode/display
svn at openfirmware.info
svn at openfirmware.info
Fri Jan 23 21:21:20 CET 2009
Author: wmb
Date: 2009-01-23 21:21:20 +0100 (Fri, 23 Jan 2009)
New Revision: 1079
Modified:
dev/geode/display/gxfb.fth
Log:
OLPC - The selftest method for the Geode display driver was using
only part of the screen due to a scoping problem with the width
and height values.
Modified: dev/geode/display/gxfb.fth
===================================================================
--- dev/geode/display/gxfb.fth 2009-01-23 20:00:12 UTC (rev 1078)
+++ dev/geode/display/gxfb.fth 2009-01-23 20:21:20 UTC (rev 1079)
@@ -5,8 +5,11 @@
headers
-d# 1024 instance value width \ Frame buffer line width
-d# 768 instance value height \ Screen height
+\ width and height are global instead of instance values because
+\ the seltest method needs to get their values in a fresh instance
+\ with re-running the open method.
+d# 1024 ( instance ) value width \ Frame buffer line width
+d# 768 ( instance ) value height \ Screen height
d# 16 instance value depth \ Bits per pixel
d# 1024 instance value /scanline \ Frame buffer line width
More information about the openfirmware
mailing list