Thread (5 messages) flat view 5 messages, 3 authors, 2007-05-02

Re: [PATCH 17/41] fbdev: Add drawing functions forframebuffers in system RAM

From: James Simmons <hidden>
Date: 2007-05-02 20:23:00

	Hi Tony,
quoted
The generic drawing functions (cfbimgblt, cfbcopyarea, 
cfbfillrect) assume
that the framebuffer is in IO memory.  However, we have 3 
drivers (hecubafb,
arcfb, and vfb) where the framebuffer is allocated from 
system RAM (via
vmalloc). Using _raw_read/write and family for these drivers 
(as used in
the cfb* functions) is illegal, especially in other platforms.
This is also true for ps3fb. I'll update the support for that once this
patch has hit mainline.
Bloat. It would be much easier to replace the FB_WRITEL and FB_READL 
macros. Last year I was working on a general solution that I wanted to 
submit but I have been pushing other patches I considered higher priority.
Perhaps I should move them up the que.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help