diff options
author | Andres Salomon <dilinger@queued.net> | 2008-04-28 11:15:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 17:58:40 +0200 |
commit | fd96795630428ceca775bd1effc5bf41a9fe5272 (patch) | |
tree | d14276ebf1ff907711e56e2742e15b594ebd166e /drivers/video/macfb.c | |
parent | gxfb/lxfb: use VSA definitions when fetching framebuffer size (diff) | |
download | linux-fd96795630428ceca775bd1effc5bf41a9fe5272.tar.xz linux-fd96795630428ceca775bd1effc5bf41a9fe5272.zip |
gxfb/lxfb: detect framebuffer size using an MSR if VSA2 isn't available
If there's no VSA2 (ie, if we're using tinybios or OpenFirmware), use the
GLIU's P2D Range Offset Descriptor to determine how much memory we have
available for the framebuffer.
Originally based on a patch by Jordan Crouse. Tested with OpenFirmware;
Pascal informs me that tinybios has a stub that fills in P2D_RO0.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/macfb.c')
0 files changed, 0 insertions, 0 deletions