diff options
| author | Andres Salomon <[email protected]> | 2008-04-28 02:15:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-28 08:58:40 -0700 |
| commit | fd96795630428ceca775bd1effc5bf41a9fe5272 (patch) | |
| tree | d14276ebf1ff907711e56e2742e15b594ebd166e /tools/perf/scripts/python/bin | |
| parent | 61a517a063abf659cbf61df11f8e2131fdafccec (diff) | |
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 <[email protected]>
Cc: Jordan Crouse <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions