From: Aaro Koskinen Date: Wed, 12 Sep 2012 21:45:42 +0000 (+0300) Subject: staging: xgifb: setup initial video RAM size for systems without BIOS X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f4eade14b4bb077304ca16a1be45ec9c72b381;p=pandora-kernel.git staging: xgifb: setup initial video RAM size for systems without BIOS On embedded systems without a BIOS, the DRAM sizing register is 0 after the boot, and the driver thinks we have only 1 MB video memory. On such cases, use the PCI window size for the initial size. This information is needed only to create the I/O mapping - the driver will later detect and configure the memory size correctly. Limit the size to 16 MB as it should be sufficient for all supported video modes. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed