Re: radeonfb, dedicate memory to something else
From: Jon Smirl <hidden>
Date: 2008-07-21 16:13:00
On 7/20/08, Matt Sealey [off-list ref] 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 [off-list ref] Genesi, Manager, Developer Relations _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
-- Jon Smirl jonsmirl@gmail.com