From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Matt Sealey" <matt@genesi-usa.com>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>,
"Michel Dänzer" <michel@tungstengraphics.com>
Subject: Re: radeonfb, dedicate memory to something else
Date: Tue, 22 Jul 2008 10:25:35 -0400 [thread overview]
Message-ID: <9e4733910807220725o41939c60l7f07d30577be7dc8@mail.gmail.com> (raw)
In-Reply-To: <4885A2C2.4060603@genesi-usa.com>
On 7/22/08, Matt Sealey <matt@genesi-usa.com> wrote:
> Michel D=E4nzer wrote:
>
> > On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote:
> >
> > > or other graphics drivers can be told "please only use the first 32MB=
"
> and
> > > 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?
>
>
> > GART doesn't have anything to do with this. I suspect he was thinking o=
f
> > 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 <matt@genesi-usa.com>
> Genesi, Manager, Developer Relations
>
--=20
Jon Smirl
jonsmirl@gmail.com
prev parent reply other threads:[~2008-07-22 14:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-20 10:03 radeonfb, dedicate memory to something else Matt Sealey
2008-07-20 15:26 ` Jon Smirl
2008-07-22 8:31 ` Matt Sealey
2008-07-22 8:52 ` Michel Dänzer
2008-07-22 9:05 ` Matt Sealey
2008-07-22 14:25 ` Jon Smirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e4733910807220725o41939c60l7f07d30577be7dc8@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=matt@genesi-usa.com \
--cc=michel@tungstengraphics.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).