Thread (34 messages) 34 messages, 8 authors, 2007-01-31

Re: [PATCH 5/9] ps3: Preallocate bootmem memory for ps3fb

From: Michael Ellerman <hidden>
Date: 2007-01-30 22:37:24
Also in: linuxppc-dev

On Tue, 2007-01-30 at 09:16 +0100, Geert Uytterhoeven wrote:
On Tue, 30 Jan 2007, Michael Ellerman wrote:
quoted
On Thu, 2007-01-25 at 18:50 +0100, Geert Uytterhoeven wrote:
quoted
Preallocate bootmem memory for the PS3 frame buffer device, which needs a
large block of physically-contiguous memory. The size of this memory block is
configurable:
  - The config option CONFIG_FB_PS3_DEFAULT_SIZE_M allows to specify the
    default amount of memory (in MiB) allocated to the virtual frame buffer.
  - The early boot parameter `ps3fb=xxx' allows to override the default value.
    It will be rounded up to a multiple of 1 MiB, if needed.

Signed-off-by: Geert Uytterhoeven <redacted>
Signed-off-by: Geoff Levand <redacted>
Rather than doing the alloc in setup.c, defining a structure to the hold
the params, and then exporting the structure - why don't you just do the
alloc in the ps3 fb driver code, and have it all private in there?
Because at that time it's no longer possible to allocate such a big block of
memory.
When it's built as a module, yeah I thought you'd say that. Oh well.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help