Skip to content
Snippets Groups Projects
Commit 00970746 authored by David 'Digit' Turner's avatar David 'Digit' Turner Committed by David 'Digit' Turner
Browse files

[ARM] goldfish: increase framebuffer aperture size


This is needed to support higher resolutions (e.g. 1024x768)
in the Android emulator.

Signed-off-by: default avatarDavid 'Digit' Turner <digit@android.com>
parent dcdb184c
No related merge requests found
......@@ -22,6 +22,21 @@
#define PHYS_OFFSET UL(0x00000000)
#define BUS_OFFSET UL(0x00000000)
/*
* Needed to allow framebuffer sizes > 1MB.
* This must be a multiple of SZ_2M.
*
* Note that using 4MB allows us to use
* framebuffers of up to 2 MB each (two are
* used for normal operations).
*
* For some reason, using more than 4MB here
* doesn't allow our emulated system to use
* larger framebuffers.
*
*/
#define CONSISTENT_DMA_SIZE (2*SZ_2M)
/*
* Virtual view <-> DMA view memory address translations
* virt_to_bus: Used to translate the virtual address to an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment