diff options
author | 2014-03-31 21:06:06 +1300 | |
---|---|---|
committer | 2014-05-26 22:41:24 +0200 | |
commit | cf8c8781d97e514cceb520252c2c78f853e951cd (patch) | |
tree | 488f5a1c7f5958e7f06acb739f6b00d0ae40bd52 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM (diff) | |
download | linux-dev-cf8c8781d97e514cceb520252c2c78f853e951cd.tar.xz linux-dev-cf8c8781d97e514cceb520252c2c78f853e951cd.zip |
m68k/atari - atafb: convert allocation of fb ram to new interface
The new atari_stram_alloc interface returns kernel virtual addresses
even if the kernel runs in FastRAM. These addresses are not
guaranteed to be identical with the physical addresses. Since ST-RAM
mappings have not been set up by mem_init, virt_to_phys() and its
cousin do not work and the atari_stram_to_phys() etc. helpers must
be used to determine physical addresses.
fb.fix->smem_start needs physical addresses, fb.par->screen_base
needs virtual addresses. Take care of the virt-to-phys conversion
both on fb init and par changes.
Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions