From: Andres Salomon Date: Mon, 28 Apr 2008 09:15:30 +0000 (-0700) Subject: gxfb/lxfb: detect framebuffer size using an MSR if VSA2 isn't available X-Git-Tag: v2.6.26-rc1~794 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd96795630428ceca775bd1effc5bf41a9fe5272;p=pandora-kernel.git 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 Cc: Jordan Crouse Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed