On Fri, Oct 15, 2004 at 03:55:37AM +0200, Felix K?hling wrote: > I'm trying to get Shadow status working in the savage driver. I'd like > to put the status page into locked shared memory and tell the Savage > chips about its physical address. I used a drmAddMap call copied from > the MGA driver that looked like it did what I wanted. But I had to find > out that the handle returned by drmAddMap is a kernel virtual address, > not a physical address. Later I saw that the status page seems to be > unused in the MGA driver. The code to get the physical address from the > kernel virtual address is #if-ed out, probably for portability reasons. > > It looks like drmAddBufs with count one and size PAGE_SIZE would be a > way to get what I want. Though it's probably not what this interface was > meant for. Does anyone want to talk me out of it before I start coding? > ;-) > > Thanks for any insight, > Felix
Why not try AGP memory? If it is pci card,use video memory. -- Thanks! Austin > > -- > | Felix K?hling <[EMAIL PROTECTED]> http://fxk.de.vu | > | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > -- > _______________________________________________ > Dri-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dri-devel ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
