diff options
| author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-09-13 00:45:42 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-13 20:41:56 -0700 |
| commit | 98f4eade14b4bb077304ca16a1be45ec9c72b381 (patch) | |
| tree | 6073ce08debe48ba017cef10e0188e059947fa29 /include/linux | |
| parent | 1839c7ebd9363cc73b55ce48d4c3c6823c2fdd42 (diff) | |
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 <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
