Thread (6 messages) read the whole thread 6 messages, 3 authors, 2008-07-22

Re: radeonfb, dedicate memory to something else

From: Jon Smirl <hidden>
Date: 2008-07-22 14:25:37

On 7/22/08, Matt Sealey [off-list ref] wrote:
Michel D=E4nzer wrote:
quoted
On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote:
quoted
or other graphics drivers can be told "please only use the first 32MB=
"
and
quoted
quoted
then either manually or automatically, map the rest as ramdisk.
You can limit the amount of video RAM used by X using the VideoRam
directive in xorg.conf(5).

 Is it safe to poke around in radeon_identify_vram and maybe supply a ker=
nel
 argument videomem=3D32M and let it check, if it's bigger, then limit it,=
 and
 if not, keep the old size in rinfo->video_ram?

 Can/could this be moved to all relevant framebuffer drivers?

quoted
GART doesn't have anything to do with this. I suspect he was thinking o=
f
quoted
the PCI BARs not covering all video RAM.
 That's certainly not the case here.
Yes, I'm forgetting how graphics work. If you can map all of VRAM into
the PCI address space then you don't have to worry about sharing the
window with X.
 Ah okay. So now.. how do we do this for framebuffers?
My memory is suspect, but first you would need to make sure all of
VRAM is mapped. Then there is a value in fb that says how much of the
VRAM it is using.  Anything above the max is fair game if X isn't
running. Note that the amount of VRAM in use by fbdev is a function of
which display mode it is in.
 --
 Matt Sealey [off-list ref]
 Genesi, Manager, Developer Relations

--=20
Jon Smirl
jonsmirl@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help