mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
Currently, the frts vidmem offset is calculated based on the non-wpr
heap size and pmu reservation size, but this is not right. The layout
actually looks like this:
| non-wpr heap | WPR2 .. FRTS | PMU reserved | ... | VGA workspace |
It's just by coincidence + generous alignment that the values happened
to match. Instead, define a per-architecture reserved size at the end of
the framebuffer and use this plus the PMU reserved size to calculate the
frts vidmem offset.
Fixes:
|
||
|---|---|---|
| .. | ||
| hal | ||
| hal.rs | ||