linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Matt Sealey" <matt@genesi-usa.com>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: radeonfb, dedicate memory to something else
Date: Sun, 20 Jul 2008 11:26:29 -0400	[thread overview]
Message-ID: <9e4733910807200826m22b676aewa89de8df9fd6da33@mail.gmail.com> (raw)
In-Reply-To: <48830D56.2080704@genesi-usa.com>

On 7/20/08, Matt Sealey <matt@genesi-usa.com> wrote:
> Hi guys,
>
>  I know this isn't a PPC question, but since some of the RadeonFB developers
>  live here I thought best (and it's about a PPC platform).
>
>  Is there any way to hack up the RadeonFB driver - or anything related - to
>  reserve portions of the memory for a "fake" MTD or so, and still use the
>  Radeon as a graphics device? What I am talking about basically is turning
>  a 64MB Radeon card into a 32MB Radeon card, or a 128MB one into a 64MB
>  card..

Somebody write this long ago. Maybe around 2000. That's all I
remember. I think they made the video memory into a ram disk.

I believe there is more to it, the GART window may be smaller than the
total RAM on the card. You need to use the GART to map in the
appropriate pieces.

>  I think this can be done by hacking a PCI fixup perhaps, for Efika only
>  in my case, whereby the memory ranges are fiddled.
>
>  Perhaps, a better solution is to use some kind of in-kernel subsystem to
>  "allocate" and return a 32MB segment of PCI memory (and put it in an
>  named rheap) but I assume other drivers can and will simply walk all
>  over it?
>
>  --
>  Matt Sealey <matt@genesi-usa.com>
>  Genesi, Manager, Developer Relations
>  _______________________________________________
>  Linuxppc-dev mailing list
>  Linuxppc-dev@ozlabs.org
>  https://ozlabs.org/mailman/listinfo/linuxppc-dev
>


-- 
Jon Smirl
jonsmirl@gmail.com

  reply	other threads:[~2008-07-21 16:13 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 [this message]
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

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=9e4733910807200826m22b676aewa89de8df9fd6da33@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=matt@genesi-usa.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).