--- Jon Smirl <[EMAIL PROTECTED]> wrote: > On Fri, 01 Oct 2004 18:05:29 +0100, Keith Whitwell > <[EMAIL PROTECTED]> wrote: > > > This implies that DRM should be passing back two distinct handle > > > types, one for normal and one for IOMEM, so that the user space app > > > will use the correct access function. This is also a pretty good > > > argument for hiding direct framebuffer access and forcing access > with > > > read/write calls on a handle like the IA64 people want to do. > > > > When you say "read" and "write" and "handle", do you mean > read(2)/write(2) and > > filehandle? Or some sort of #defined read/write macros? or something > else? > > They want to use read(2)/write(2). > IMHO this is loonisy... You will also need to use lseek(2) since "ssize_t read(int fd, void *buf, size_t count);" is missing some things that mmap(2) was made to work around.
I realy don't think there is ANY device on this planet that uses registers for it's framebuffer, not that registers are any diffrent from a memory stick. It's just that most IO ports arn't memory there fifos that sometimes will recall the last value writen if asked. A framebuffer by it's vary nature MUST recall the last value writen when asked, thus it's memory not an IOmaped FIFO. > > > > Keith > > > > > > -- > Jon Smirl > [EMAIL PROTECTED] > > > ------------------------------------------------------- > 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 > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- 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
